
public class OStartReplicationTask extends OAbstractReplicatedTask
ORemoteTask.RESULT_STRATEGY| Modifier and Type | Field and Description |
|---|---|
static int |
FACTORYID |
lastLSNALL, ANY, FAST_NOLOCK, LOCK, nodeSource| Constructor and Description |
|---|
OStartReplicationTask() |
OStartReplicationTask(String databaseName,
boolean tryWithDeltaFirst) |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(ODistributedRequestId requestId,
OServer iServer,
ODistributedServerManager dManager,
ODatabaseDocumentInternal database) |
void |
fromStream(DataInput in,
ORemoteTaskFactory factory) |
long |
getDistributedTimeout() |
int |
getFactoryId() |
String |
getName() |
OCommandDistributedReplicateRequest.QUORUM_TYPE |
getQuorumType() |
boolean |
isNodeOnlineRequired() |
void |
toStream(DataOutput out) |
getFixTask, getLastLSN, getUndoTaskcheckIsValid, getNodeSource, getPartitionKey, getResultStrategy, getSynchronousTimeout, getTotalTimeout, hasResponse, isIdempotent, isUsingDatabase, setNodeSource, toStringpublic static final int FACTORYID
public OStartReplicationTask()
public OStartReplicationTask(String databaseName, boolean tryWithDeltaFirst)
public Object execute(ODistributedRequestId requestId, OServer iServer, ODistributedServerManager dManager, ODatabaseDocumentInternal database) throws Exception
execute in interface ORemoteTaskexecute in class OAbstractRemoteTaskExceptionpublic 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 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 boolean isNodeOnlineRequired()
isNodeOnlineRequired in interface ORemoteTaskisNodeOnlineRequired in class OAbstractRemoteTaskpublic int getFactoryId()
Copyright © 2009–2025 OrientDB. All rights reserved.