Class ODeclareDbMessage
java.lang.Object
com.orientechnologies.orient.distributed.context.coordination.message.operation.ODeclareDbMessage
- All Implemented Interfaces:
OOperationMessage
-
Constructor Summary
ConstructorsConstructorDescriptionODeclareDbMessage(String name, ODatabaseId id, Set<ONodeId> partecipants, int minimumQuorum) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(OrientDBDistributed ctx, OTransactionIdPromise promise) voidcancel(OrientDBDistributed ctx, OTransactionIdPromise promise) getId()intgetName()shortgetType()static ODeclareDbMessagereadNetwork(DataInput input) voidserialize(DataOutput out) validate(OrientDBDistributed ctx, OTransactionIdPromise promise) 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.operation.OOperationMessage
writeNetwork
-
Constructor Details
-
ODeclareDbMessage
-
-
Method Details
-
validate
- Specified by:
validatein interfaceOOperationMessage
-
apply
- Specified by:
applyin interfaceOOperationMessage
-
cancel
- Specified by:
cancelin interfaceOOperationMessage
-
serialize
- Specified by:
serializein interfaceOOperationMessage- Throws:
IOException
-
getType
public short getType()- Specified by:
getTypein interfaceOOperationMessage
-
readNetwork
- Throws:
IOException
-
getId
-
getName
-
getPartecipants
-
getMinimumQuorum
public int getMinimumQuorum()
-