Package com.gigaspaces.client
Interface ChangeResult<T>
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ChangeDetailedResultImpl,ChangeResultImpl
Result of a change operation.
- Since:
- 9.1
- Author:
- Niv Ingberg
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of changed entriesReturns a collection ofChangedEntryDetailsof the changed entries.
-
Method Details
-
getResults
Collection<ChangedEntryDetails<T>> getResults()Returns a collection ofChangedEntryDetailsof the changed entries.This is only supported if the ChangeModifiers.RETURN_DETAILED_RESULTSmodifier was used, otherwise this method will throw unsupported operation exception.- Throws:
UnsupportedOperationException- if the corresponding change operation was not used with theChangeModifiers.RETURN_DETAILED_RESULTSmodifier.
-
getNumberOfChangedEntries
int getNumberOfChangedEntries()Returns the number of changed entries
-