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, wait
enabledSmartExternalizableWithReference
public ExternalizableDataSyncOperation()
public ExternalizableDataSyncOperation(DataSyncOperation dataSyncOperation)
public Object getSpaceId()
getSpaceId
in interface DataSyncOperation
public String getUid()
getUid
in interface DataSyncOperation
public DataSyncOperationType getDataSyncOperationType()
getDataSyncOperationType
in interface DataSyncOperation
public Object getDataAsObject()
getDataAsObject
in interface DataSyncOperation
DataSyncOperation.supportsDataAsObject()
return true, otherwise an exception will be thrown.public SpaceDocument getDataAsDocument()
getDataAsDocument
in interface DataSyncOperation
DataSyncOperation.supportsDataAsDocument()
return true, otherwise an exception will be thrown.public SpaceTypeDescriptor getTypeDescriptor()
getTypeDescriptor
in interface DataSyncOperation
DataSyncOperation.supportsGetTypeDescriptor()
return true, otherwise an exception will be thrown.public boolean supportsGetTypeDescriptor()
supportsGetTypeDescriptor
in interface DataSyncOperation
DataSyncOperation.getTypeDescriptor()
operation.public boolean supportsDataAsObject()
supportsDataAsObject
in interface DataSyncOperation
DataSyncOperation.getDataAsObject()
operation.public boolean supportsDataAsDocument()
supportsDataAsDocument
in interface DataSyncOperation
DataSyncOperation.getDataAsDocument()
operation.public boolean supportsGetSpaceId()
supportsGetSpaceId
in interface DataSyncOperation
DataSyncOperation.getSpaceId()
operation.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public static DataSyncOperation[] convertDataSyncOperations(DataSyncOperation[] dataSyncOperations)
Copyright © GigaSpaces.