public class ChangeResultImpl<T> extends Object implements ChangeResult<T>, Externalizable
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) |
public 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 Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
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 int getNumberOfChangedEntries()
ChangeResult
getNumberOfChangedEntries
in interface ChangeResult<T>
Copyright © GigaSpaces.