public class ChangeResultImpl<T> extends Object implements ChangeResult<T>, SmartExternalizable
| Modifier and Type | Field and Description |
|---|---|
static ChangeResultImpl<?> |
EMPTY |
static ChangeResultImpl<?> |
SINGLE |
| Constructor and Description |
|---|
ChangeResultImpl() |
ChangeResultImpl(int numOfChangesEntries) |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumberOfChangedEntries()
Returns the number of changed entries
|
Collection<ChangedEntryDetails<T>> |
getResults()
Returns a collection of
ChangedEntryDetails of the changed entries. |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenabledSmartExternalizableWithReferencepublic static final ChangeResultImpl<?> SINGLE
public static final ChangeResultImpl<?> EMPTY
public ChangeResultImpl()
public ChangeResultImpl(int numOfChangesEntries)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic Collection<ChangedEntryDetails<T>> getResults()
ChangeResultChangedEntryDetails of the changed entries. ChangeModifiers.RETURN_DETAILED_RESULTS modifier was used,
otherwise this method will throw unsupported operation exception.getResults in interface ChangeResult<T>public int getNumberOfChangedEntries()
ChangeResultgetNumberOfChangedEntries in interface ChangeResult<T>Copyright © GigaSpaces.