Package com.gigaspaces.internal.client
Class ChangeDetailedResultImpl<T>
java.lang.Object
com.gigaspaces.internal.client.ChangeDetailedResultImpl<T>
- All Implemented Interfaces:
ChangeResult<T>,SmartExternalizable,Externalizable,Serializable
public class ChangeDetailedResultImpl<T>
extends Object
implements ChangeResult<T>, SmartExternalizable
- Since:
- 9.1
- Author:
- eitany
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionChangeDetailedResultImpl(ChangedEntryDetails<T> singleChangeEntryResult) ChangeDetailedResultImpl(Collection<ChangedEntryDetails<T>> multipleBatchResults) -
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of changed entriesReturns a collection ofChangedEntryDetailsof the changed entries.voidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Field Details
-
EMPTY
-
-
Constructor Details
-
ChangeDetailedResultImpl
public ChangeDetailedResultImpl() -
ChangeDetailedResultImpl
-
ChangeDetailedResultImpl
-
-
Method Details
-
getResults
Description copied from interface:ChangeResultReturns 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.- Specified by:
getResultsin interfaceChangeResult<T>
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
getNumberOfChangedEntries
public int getNumberOfChangedEntries()Description copied from interface:ChangeResultReturns the number of changed entries- Specified by:
getNumberOfChangedEntriesin interfaceChangeResult<T>
-