public class BadDeltaObject extends DeltaObject
| Modifier and Type | Field and Description |
|---|---|
static int |
fromDeltaReadTooMuch |
static int |
fromDeltaThrowsError |
static int |
fromDeltaThrowsException |
static int |
fromDeltaThrowsInvDelExc |
static int |
fromDeltaThrowsIOException |
static int |
hasDeltaThrowsError |
static int |
hasDeltaThrowsException |
static int |
numberOfBadDeltaTestCases |
static java.lang.String |
testCaseKey |
static int |
toDeltaThrowsError |
static int |
toDeltaThrowsException |
static int |
toDeltaThrowsIOException |
static int |
toDeltaWriteNothing |
aByteArrayChanged, aPrimitiveBooleanChanged, aPrimitiveByteChanged, aPrimitiveCharChanged, aPrimitiveDoubleChanged, aPrimitiveFloatChanged, aPrimitiveIntChanged, aPrimitiveLongChanged, aPrimitiveShortChanged, aStringChanged, cloningEnabledaBoolean, aByte, aByteArray, aCharacter, aDouble, aFloat, aLong, anInteger, aPrimitiveBoolean, aPrimitiveByte, aPrimitiveChar, aPrimitiveDouble, aPrimitiveFloat, aPrimitiveInt, aPrimitiveLong, aPrimitiveShort, aQueryObject, aShort, aString, EQUAL_VALUES, extra, id, INCREMENT, myVersion, NEGATE, NULL_NONPRIM_FIELDS, RANDOM_VALUES, SEQUENTIAL_VALUES| Constructor and Description |
|---|
BadDeltaObject(long base,
int valueGeneration,
int byteArraySize,
int levels)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
fromDelta(java.io.DataInput in)
Read in and set the changed fields
|
boolean |
hasDelta()
Return true if this object has changed a field, false otherwise
|
static java.lang.String |
testCaseToString(int deltaTestCase)
Return a string description of the given test case
|
void |
toDelta(java.io.DataOutput out)
Write out changed fields
|
_fromDelta, _toDelta, clone, copy, modify, resetcompareTo, constantToString, depth, equals, fieldsToString, fillInBaseValues, getAtDepth, hasEqualId, hashCode, main, modify, modifyWithNewInstance, modifyWithNewInstance, toString, toString, toString, toStringAbbreviated, toStringAbbreviated, toStringAbbreviated, toStringFull, toStringFull, toStringFull, toStringOneLevelpublic static final int hasDeltaThrowsException
public static final int toDeltaThrowsException
public static final int fromDeltaThrowsException
public static final int hasDeltaThrowsError
public static final int toDeltaThrowsError
public static final int fromDeltaThrowsError
public static final int fromDeltaReadTooMuch
public static final int toDeltaWriteNothing
public static final int fromDeltaThrowsInvDelExc
public static final int toDeltaThrowsIOException
public static final int fromDeltaThrowsIOException
public static final int numberOfBadDeltaTestCases
public static java.lang.String testCaseKey
public BadDeltaObject(long base,
int valueGeneration,
int byteArraySize,
int levels)
public void toDelta(java.io.DataOutput out)
throws java.io.IOException
toDelta in interface com.gemstone.gemfire.DeltatoDelta in class DeltaObjectjava.io.IOExceptionpublic void fromDelta(java.io.DataInput in)
throws java.io.IOException,
com.gemstone.gemfire.InvalidDeltaException
fromDelta in interface com.gemstone.gemfire.DeltafromDelta in class DeltaObjectjava.io.IOExceptioncom.gemstone.gemfire.InvalidDeltaExceptionpublic boolean hasDelta()
hasDelta in interface com.gemstone.gemfire.DeltahasDelta in class DeltaObjectpublic static java.lang.String testCaseToString(int deltaTestCase)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.