Changes an existing object in space, returning a change result which provides details of the operation affect. The change operation is designed for performance optimization, By allowing to change an existing object unlike with regular updating write operation which usually requires reading the object before applying to update to it. As part of the optimization, when the operation is replicated, on a best effort it will try to replicate only the required data which is needed to apply the changes on the entry in the replicated target. Modifiers can be used to specify behavior of the change operation, by default uses the None modifier.
|C#||Visual Basic||Visual C++||J#|
Function Change(Of T) ( _ query As IQuery(Of T), _ changeSet As ChangeSet, _ timeout As Long _ ) As IChangeResult(Of T)
generic<typename T> IChangeResult<T>^ Change( IQuery<T>^ query, ChangeSet^ changeSet, long long timeout )
Generic Template Parameters
- Type of object to change.
Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 10.0.0.0 (10.0.1.11800)
A IChangeResult<(Of <(T>)>) containing the details of the change operation affect.