Class OCanSync
java.lang.Object
com.orientechnologies.orient.distributed.context.coordination.message.OCanSync
- All Implemented Interfaces:
OStructuralMessage
-
Constructor Summary
ConstructorsConstructorDescriptionOCanSync(ONodeId sender, ODatabaseId dbId, OSyncId syncId, OSyncMode mode, Optional<OTransactionSequenceStatus> sequenceStatus, boolean canSync) -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic OCanSyncfromNetwork(DataInput input) getDbId()getMode()shortgetType()booleanvoidserialize(DataOutput out) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.orientechnologies.orient.distributed.context.coordination.message.OStructuralMessage
writeNetwork
-
Constructor Details
-
OCanSync
public OCanSync(ONodeId sender, ODatabaseId dbId, OSyncId syncId, OSyncMode mode, Optional<OTransactionSequenceStatus> sequenceStatus, boolean canSync)
-
-
Method Details
-
execute
- Specified by:
executein interfaceOStructuralMessage
-
serialize
- Specified by:
serializein interfaceOStructuralMessage- Throws:
IOException
-
getType
public short getType()- Specified by:
getTypein interfaceOStructuralMessage
-
fromNetwork
- Throws:
IOException
-
getSender
-
getDbId
-
getMode
-
getSyncId
-
isCanSync
public boolean isCanSync() -
getSequenceStatus
-