public class DeltaValueHolder extends ValueHolder implements com.gemstone.gemfire.Delta
| Modifier and Type | Field and Description |
|---|---|
static boolean |
logCalls |
extraObject, modVal, myValue, myVersion| Constructor and Description |
|---|
DeltaValueHolder() |
DeltaValueHolder(Object anObj,
RandomValues randomValues) |
DeltaValueHolder(Object anObj,
RandomValues randomValues,
Integer initModVal) |
DeltaValueHolder(RandomValues randomValues) |
DeltaValueHolder(String nameFactoryName,
RandomValues randomValues) |
DeltaValueHolder(String nameFactoryName,
RandomValues randomValues,
Integer initModVal) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromDelta(DataInput in) |
BaseValueHolder |
getAlternateValueHolder(RandomValues randomValues)
Using the current values in this ValueHolder, return a new
ValueHolder that has the same "value" in
myValue and
a new extraObject if extraObject is used. |
boolean |
hasDelta() |
void |
toDelta(DataOutput out) |
readExternal, writeExternalequals, getExtraObject, getModVal, getMyValue, hashCode, incrementModVal, setModVal, toString, verifyMyFields, verifyMyFieldspublic DeltaValueHolder()
public DeltaValueHolder(Object anObj, RandomValues randomValues)
anObj - randomValues - public DeltaValueHolder(RandomValues randomValues)
randomValues - public DeltaValueHolder(String nameFactoryName, RandomValues randomValues)
nameFactoryName - randomValues - public DeltaValueHolder(Object anObj, RandomValues randomValues, Integer initModVal)
anObj - randomValues - initModVal - public DeltaValueHolder(String nameFactoryName, RandomValues randomValues, Integer initModVal)
nameFactoryName - randomValues - initModVal - public void fromDelta(DataInput in) throws IOException, com.gemstone.gemfire.InvalidDeltaException
fromDelta in interface com.gemstone.gemfire.DeltaIOExceptioncom.gemstone.gemfire.InvalidDeltaExceptionpublic boolean hasDelta()
hasDelta in interface com.gemstone.gemfire.Deltapublic void toDelta(DataOutput out) throws IOException
toDelta in interface com.gemstone.gemfire.DeltaIOExceptionpublic BaseValueHolder getAlternateValueHolder(RandomValues randomValues)
BaseValueHoldermyValue and
a new extraObject if extraObject is used. For
example, if this.myValue contains a Long of value 34, the new
ValueHolder will also have a myValue of 34, but it may be a
String, an Integer, a BigInteger, etc.getAlternateValueHolder in class BaseValueHolderCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.