public class ExternalizableDataSyncOperation extends Object implements SmartExternalizable, DataSyncOperation
| Constructor and Description |
|---|
ExternalizableDataSyncOperation() |
ExternalizableDataSyncOperation(DataSyncOperation dataSyncOperation) |
| Modifier and Type | Method and Description |
|---|---|
static DataSyncOperation[] |
convertDataSyncOperations(DataSyncOperation[] dataSyncOperations) |
SpaceDocument |
getDataAsDocument() |
Object |
getDataAsObject() |
DataSyncOperationType |
getDataSyncOperationType() |
Object |
getSpaceId() |
SpaceTypeDescriptor |
getTypeDescriptor() |
String |
getUid() |
void |
readExternal(ObjectInput in) |
boolean |
supportsDataAsDocument() |
boolean |
supportsDataAsObject() |
boolean |
supportsGetSpaceId() |
boolean |
supportsGetTypeDescriptor() |
void |
writeExternal(ObjectOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenabledSmartExternalizableWithReferencepublic ExternalizableDataSyncOperation()
public ExternalizableDataSyncOperation(DataSyncOperation dataSyncOperation)
public Object getSpaceId()
getSpaceId in interface DataSyncOperationpublic String getUid()
getUid in interface DataSyncOperationpublic DataSyncOperationType getDataSyncOperationType()
getDataSyncOperationType in interface DataSyncOperationpublic Object getDataAsObject()
getDataAsObject in interface DataSyncOperationDataSyncOperation.supportsDataAsObject() return true, otherwise an exception will be thrown.public SpaceDocument getDataAsDocument()
getDataAsDocument in interface DataSyncOperationDataSyncOperation.supportsDataAsDocument() return true, otherwise an exception will be thrown.public SpaceTypeDescriptor getTypeDescriptor()
getTypeDescriptor in interface DataSyncOperationDataSyncOperation.supportsGetTypeDescriptor() return true, otherwise an exception will be thrown.public boolean supportsGetTypeDescriptor()
supportsGetTypeDescriptor in interface DataSyncOperationDataSyncOperation.getTypeDescriptor() operation.public boolean supportsDataAsObject()
supportsDataAsObject in interface DataSyncOperationDataSyncOperation.getDataAsObject() operation.public boolean supportsDataAsDocument()
supportsDataAsDocument in interface DataSyncOperationDataSyncOperation.getDataAsDocument() operation.public boolean supportsGetSpaceId()
supportsGetSpaceId in interface DataSyncOperationDataSyncOperation.getSpaceId() operation.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic static DataSyncOperation[] convertDataSyncOperations(DataSyncOperation[] dataSyncOperations)
Copyright © GigaSpaces.