com.gigaspaces.sync.change
Class ChangeDataSyncOperation
java.lang.Object
com.gigaspaces.sync.change.ChangeDataSyncOperation
public class ChangeDataSyncOperation
- extends Object
Used to extract the DataSyncChangeSet
from operations that represent a change operation.
See DataSyncOperation
, DataSyncOperationType.CHANGE
, IReplicationFilterEntry
and ReplicationOperationType.CHANGE
.
- Since:
- 9.5
- Author:
- eitany
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChangeDataSyncOperation
public ChangeDataSyncOperation()
getChangeSet
public static DataSyncChangeSet getChangeSet(DataSyncOperation dataSyncOperation)
- Returns:
- the
DataSyncChangeSet
from a DataSyncOperation
which represents a DataSyncOperationType.CHANGE
operation.
If called on a DataSyncOperation
which isn't a change operation, an exception will be thrown
getChangeSet
public static DataSyncChangeSet getChangeSet(IFilterEntry filterEntry)
- Returns:
- the
DataSyncChangeSet
from a IFilterEntry
which represents a ReplicationOperationType.CHANGE
operation.
If called on a IFilterEntry
which isn't a change operation, an exception will be thrown. This method is used within a space replication filter
or a space filter.
Copyright © GigaSpaces.