
public class OSyncClusterTask extends OAbstractReplicatedTask
| Modifier and Type | Class and Description |
|---|---|
static class |
OSyncClusterTask.MODE |
ORemoteTask.RESULT_STRATEGY| Modifier and Type | Field and Description |
|---|---|
static int |
CHUNK_MAX_SIZE |
protected String |
clusterName |
static String |
DEPLOYCLUSTER |
static int |
FACTORYID |
protected OSyncClusterTask.MODE |
mode |
protected long |
random |
lastLSNALL, ANY, FAST_NOLOCK, LOCK, nodeSource| Constructor and Description |
|---|
OSyncClusterTask() |
OSyncClusterTask(String iClusterName) |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(ODistributedRequestId requestId,
OServer iServer,
ODistributedServerManager iManager,
ODatabaseDocumentInternal database) |
void |
fromStream(DataInput in,
ORemoteTaskFactory factory) |
long |
getDistributedTimeout() |
int |
getFactoryId() |
String |
getName() |
OCommandDistributedReplicateRequest.QUORUM_TYPE |
getQuorumType() |
ORemoteTask.RESULT_STRATEGY |
getResultStrategy() |
void |
toStream(DataOutput out) |
getFixTask, getLastLSN, getUndoTaskcheckIsValid, getNodeSource, getPartitionKey, getSynchronousTimeout, getTotalTimeout, hasResponse, isIdempotent, isNodeOnlineRequired, isUsingDatabase, setNodeSource, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfinished, receivedpublic static final int CHUNK_MAX_SIZE
public static final String DEPLOYCLUSTER
public static final int FACTORYID
protected OSyncClusterTask.MODE mode
protected long random
protected String clusterName
public OSyncClusterTask()
public OSyncClusterTask(String iClusterName)
public Object execute(ODistributedRequestId requestId, OServer iServer, ODistributedServerManager iManager, ODatabaseDocumentInternal database) throws Exception
execute in interface ORemoteTaskexecute in class OAbstractRemoteTaskExceptionpublic ORemoteTask.RESULT_STRATEGY getResultStrategy()
getResultStrategy in interface ORemoteTaskgetResultStrategy in class OAbstractRemoteTaskpublic OCommandDistributedReplicateRequest.QUORUM_TYPE getQuorumType()
getQuorumType in interface ORemoteTaskgetQuorumType in class OAbstractRemoteTaskpublic long getDistributedTimeout()
getDistributedTimeout in interface ORemoteTaskgetDistributedTimeout in class OAbstractRemoteTaskpublic String getName()
getName in interface ORemoteTaskgetName 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 int getFactoryId()
Copyright © 2009–2025 OrientDB. All rights reserved.