public class OEnterpriseStatsTask extends OAbstractRemoteTask
ORemoteTask.RESULT_STRATEGY
Modifier and Type | Field and Description |
---|---|
static int |
FACTORYID |
ALL, ANY, FAST_NOLOCK, LOCK, nodeSource
Constructor and Description |
---|
OEnterpriseStatsTask() |
Modifier and Type | Method and Description |
---|---|
Object |
execute(ODistributedRequestId msgId,
OServer iServer,
ODistributedServerManager iManager,
ODatabaseDocumentInternal database) |
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 |
isUsingDatabase() |
checkIsValid, fromStream, getNodeSource, hasResponse, isIdempotent, isNodeOnlineRequired, setNodeSource, toStream, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
finished, received
public static final int FACTORYID
public Object execute(ODistributedRequestId msgId, OServer iServer, ODistributedServerManager iManager, ODatabaseDocumentInternal database) throws Exception
execute
in interface ORemoteTask
execute
in class OAbstractRemoteTask
Exception
public int[] getPartitionKey()
getPartitionKey
in interface ORemoteTask
getPartitionKey
in class OAbstractRemoteTask
public OCommandDistributedReplicateRequest.QUORUM_TYPE getQuorumType()
getQuorumType
in interface ORemoteTask
getQuorumType
in class OAbstractRemoteTask
public boolean isUsingDatabase()
isUsingDatabase
in interface ORemoteTask
isUsingDatabase
in class OAbstractRemoteTask
public ORemoteTask.RESULT_STRATEGY getResultStrategy()
getResultStrategy
in interface ORemoteTask
getResultStrategy
in class OAbstractRemoteTask
public long getDistributedTimeout()
getDistributedTimeout
in interface ORemoteTask
getDistributedTimeout
in class OAbstractRemoteTask
public long getSynchronousTimeout(int iSynchNodes)
getSynchronousTimeout
in interface ORemoteTask
getSynchronousTimeout
in class OAbstractRemoteTask
public long getTotalTimeout(int iTotalNodes)
getTotalTimeout
in interface ORemoteTask
getTotalTimeout
in class OAbstractRemoteTask
public String getName()
getName
in interface ORemoteTask
getName
in class OAbstractRemoteTask
public int getFactoryId()
Copyright © 2009–2020 OrientDB. All rights reserved.