|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.websphere.objectgrid.plugins.DistributionMode
public final class DistributionMode
This class is used to define the "distribution" mode when the
serialize()
method on the LogSequenceTransformer
interface is
used. The caller is expected to pass one of the static constant
variables defined in this class to the serialize()
method. The DistributionMode
works with the LogSequenceFilter
to limit the amount of data distributed via the LogSequence
s.
LogSequenceFilter
Field Summary | |
---|---|
static DistributionMode |
INVALIDATE
The INVALIDATE distribution mode is used to communicate invalidates to the receivers of the LogSequence. |
static DistributionMode |
INVALIDATE_CONDITIONAL
The INVALIDATE_CONDITIONAL is very much like the INVALIDATE distribution
mode except that it also takes into account the versioned value data associated
with each entry. |
static DistributionMode |
PUSH
The PUSH distribution mode is used to communicate changes to the receivers of the LogSequence. |
static DistributionMode |
PUSH_CONDITIONAL
The PUSH_CONDITIONAL is very much like the PUSH distribution
mode except that it also takes into account the versioned value data associated
with each entry. |
Method Summary | |
---|---|
boolean |
isConditional()
Checks whether the mode is conditional mode or not. |
boolean |
isInvalidate()
Checks whether the mode is a invalidate mode or not. |
boolean |
isPush()
Checks whether the mode is a push mode or not. |
int |
toInt()
Return the int representation of mode |
String |
toString()
Returns a string representation of the DistributionMode . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final DistributionMode INVALIDATE
public static final DistributionMode INVALIDATE_CONDITIONAL
INVALIDATE
distribution
mode except that it also takes into account the versioned value data associated
with each entry. Thus, before the invalidates are performed on the receiving
side, a comparison is done between the versioned value and the value currently
in the receiving side ObjectMap. If the versioned value is older than the
current value, then the invalidate is not performed.
INVALIDATE
public static final DistributionMode PUSH
public static final DistributionMode PUSH_CONDITIONAL
PUSH
distribution
mode except that it also takes into account the versioned value data associated
with each entry. Thus, before the updates are applied on the receiving
side, a comparison is done between the versioned value and the value currently
in the receiving side ObjectMap. If the versioned value is older than the
current value, then the operation is not performed.
PUSH
Method Detail |
---|
public boolean isConditional()
PUSH_CONDITIONAL
or INVALIDATE_CONDITIONAL
.
PUSH_CONDITIONAL
,
INVALIDATE_CONDITIONAL
public boolean isInvalidate()
INVALIDATE
or INVALIDATE_CONDITIONAL
.
INVALIDATE
,
INVALIDATE_CONDITIONAL
public boolean isPush()
PUSH
or PUSH_CONDITIONAL
.
PUSH
,
PUSH_CONDITIONAL
public int toInt()
public String toString()
DistributionMode
.
toString
in class Object
DistributionMode
.
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |