com.ibm.cics.server
Class SyncLevel

java.lang.Object
  |
  +--com.ibm.cics.server.SyncLevel

public class SyncLevel
extends java.lang.Object
implements java.io.Serializable


Field Summary
static SyncLevel CONFIRM
           
static SyncLevel NONE
           
static SyncLevel SYNCPOINT
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
static SyncLevel lookup(int value)
          Get the syncpoint object that corresponds the the give int.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final SyncLevel NONE

CONFIRM

public static final SyncLevel CONFIRM

SYNCPOINT

public static final SyncLevel SYNCPOINT
Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

lookup

public static SyncLevel lookup(int value)
Get the syncpoint object that corresponds the the give int.
Parameters:
value - This is the required syncpoint level. Valid values are 0,1, and 2. Any other input results in an IllegalArgumentException.
Returns:
The corresponding SyncPoint object.


Copyright (c) 2001 by Sun Microsystems, Inc.