Package com.gigaspaces.internal.client
Class ChangeResultImpl<T>
java.lang.Object
com.gigaspaces.internal.client.ChangeResultImpl<T>
- All Implemented Interfaces:
ChangeResult<T>,SmartExternalizable,Externalizable,Serializable
- Since:
- 9.1
- Author:
- eitany
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ChangeResultImpl<?>static final ChangeResultImpl<?> -
Constructor Summary
Constructors -
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
-
SINGLE
-
EMPTY
-
-
Constructor Details
-
ChangeResultImpl
public ChangeResultImpl() -
ChangeResultImpl
public ChangeResultImpl(int numOfChangesEntries)
-
-
Method Details
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
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>
-
getNumberOfChangedEntries
public int getNumberOfChangedEntries()Description copied from interface:ChangeResultReturns the number of changed entries- Specified by:
getNumberOfChangedEntriesin interfaceChangeResult<T>
-