
public class OGossipTask extends OAbstractRemoteTask
ORemoteTask.RESULT_STRATEGY| Modifier and Type | Field and Description |
|---|---|
static int |
FACTORYID |
ALL, ANY, FAST_NOLOCK, nodeSource| Constructor and Description |
|---|
OGossipTask() |
OGossipTask(String lockManagerServer) |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(ODistributedRequestId msgId,
OServer iServer,
ODistributedServerManager iManager,
ODatabaseDocumentInternal database) |
void |
fromStream(DataInput in,
ORemoteTaskFactory factory) |
long |
getDistributedTimeout()
Computes the timeout according to the transaction size.
|
int |
getFactoryId() |
String |
getName() |
int[] |
getPartitionKey()
Uses the UNLOCK queue that is never blocked.
|
OCommandDistributedReplicateRequest.QUORUM_TYPE |
getQuorumType() |
ORemoteTask.RESULT_STRATEGY |
getResultStrategy() |
long |
getSynchronousTimeout(int iSynchNodes) |
long |
getTotalTimeout(int iTotalNodes) |
boolean |
isNodeOnlineRequired() |
boolean |
isUsingDatabase() |
void |
toStream(DataOutput out) |
String |
toString() |
checkIsValid, getNodeSource, hasResponse, isIdempotent, setNodeSourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfinished, receivedpublic static final int FACTORYID
public OGossipTask()
public OGossipTask(String lockManagerServer)
public Object execute(ODistributedRequestId msgId, OServer iServer, ODistributedServerManager iManager, ODatabaseDocumentInternal database) throws Exception
execute in interface ORemoteTaskexecute in class OAbstractRemoteTaskExceptionpublic int[] getPartitionKey()
getPartitionKey in interface ORemoteTaskgetPartitionKey in class OAbstractRemoteTaskpublic OCommandDistributedReplicateRequest.QUORUM_TYPE getQuorumType()
getQuorumType in interface ORemoteTaskgetQuorumType in class OAbstractRemoteTaskpublic boolean isUsingDatabase()
isUsingDatabase in interface ORemoteTaskisUsingDatabase in class OAbstractRemoteTaskpublic ORemoteTask.RESULT_STRATEGY getResultStrategy()
getResultStrategy in interface ORemoteTaskgetResultStrategy in class OAbstractRemoteTaskpublic void toStream(DataOutput out) throws IOException
toStream in interface ORemoteTasktoStream in class OAbstractRemoteTaskIOExceptionpublic void fromStream(DataInput in, ORemoteTaskFactory factory) throws IOException
fromStream in interface ORemoteTaskfromStream in class OAbstractRemoteTaskIOExceptionpublic long getDistributedTimeout()
getDistributedTimeout in interface ORemoteTaskgetDistributedTimeout in class OAbstractRemoteTaskpublic long getSynchronousTimeout(int iSynchNodes)
getSynchronousTimeout in interface ORemoteTaskgetSynchronousTimeout in class OAbstractRemoteTaskpublic long getTotalTimeout(int iTotalNodes)
getTotalTimeout in interface ORemoteTaskgetTotalTimeout in class OAbstractRemoteTaskpublic String getName()
getName in interface ORemoteTaskgetName in class OAbstractRemoteTaskpublic int getFactoryId()
public boolean isNodeOnlineRequired()
isNodeOnlineRequired in interface ORemoteTaskisNodeOnlineRequired in class OAbstractRemoteTaskpublic String toString()
toString in class OAbstractRemoteTaskCopyright © 2009–2025 OrientDB. All rights reserved.