public class ChangeDetailedResultImpl<T> extends Object implements ChangeResult<T>, SmartExternalizable
Modifier and Type | Field and Description |
---|---|
static ChangeDetailedResultImpl<?> |
EMPTY |
Constructor and Description |
---|
ChangeDetailedResultImpl() |
ChangeDetailedResultImpl(ChangedEntryDetails<T> singleChangeEntryResult) |
ChangeDetailedResultImpl(Collection<ChangedEntryDetails<T>> multipleBatchResults) |
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, wait
enabledSmartExternalizableWithReference
public static final ChangeDetailedResultImpl<?> EMPTY
public ChangeDetailedResultImpl()
public ChangeDetailedResultImpl(ChangedEntryDetails<T> singleChangeEntryResult)
public ChangeDetailedResultImpl(Collection<ChangedEntryDetails<T>> multipleBatchResults)
public Collection<ChangedEntryDetails<T>> getResults()
ChangeResult
ChangedEntryDetails
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 void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public int getNumberOfChangedEntries()
ChangeResult
getNumberOfChangedEntries
in interface ChangeResult<T>
Copyright © GigaSpaces.