public class Value extends Object implements com.gemstone.gemfire.pdx.PdxSerializable
Value implements the GemFire PdxSerializable interface for highest serialization performance. PdxSerializable also allows cache servers to view and manipulate the object without having reference its class in their classpath.
| Modifier and Type | Field and Description |
|---|---|
static String |
HISTORY_FIELD |
static String |
MERGED_FIELD |
static String |
MODIFICATION_COUNT_FIELD |
static String |
MODIFICATION_FIELD |
| Constructor and Description |
|---|
Value()
no-arg constructor required for serialization
|
Value(int intValue,
String string)
Construct a Value object
|
| Modifier and Type | Method and Description |
|---|---|
void |
addHistory(String str)
Add a string to the history list of this object
|
void |
clearMergedFlag() |
void |
fromData(com.gemstone.gemfire.pdx.PdxReader reader) |
String |
getModification() |
int |
getModificationCount() |
void |
incrementModificationCount() |
boolean |
mergedByConflictResolver()
The "merged" conflict resolution option from the hub cache.xml will cause
this flag to be set if the WANConflictResolver performs a merge.
|
void |
setModification(String str)
Set the "modification" field of this object.
|
void |
toData(com.gemstone.gemfire.pdx.PdxWriter writer) |
String |
toString() |
public static String MODIFICATION_COUNT_FIELD
public static String MODIFICATION_FIELD
public static String HISTORY_FIELD
public static String MERGED_FIELD
public Value()
public Value(int intValue,
String string)
public int getModificationCount()
public void incrementModificationCount()
public boolean mergedByConflictResolver()
public void clearMergedFlag()
public void setModification(String str)
str - the value to set as the new "modification" of this objectpublic String getModification()
public void addHistory(String str)
str - the value to add to the history listpublic void toData(com.gemstone.gemfire.pdx.PdxWriter writer)
toData in interface com.gemstone.gemfire.pdx.PdxSerializablepublic void fromData(com.gemstone.gemfire.pdx.PdxReader reader)
fromData in interface com.gemstone.gemfire.pdx.PdxSerializableCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.