public abstract class OAbstractSyncDatabaseTask extends OAbstractReplicatedTask implements OCommandOutputListener
ORemoteTask.RESULT_STRATEGY
Modifier and Type | Field and Description |
---|---|
static int |
CHUNK_MAX_SIZE |
static String |
DEPLOYDB |
static int |
FACTORYID |
protected long |
lastOperationTimestamp |
protected long |
random |
lastLSN
ALL, ANY, FAST_NOLOCK, LOCK, nodeSource
Modifier | Constructor and Description |
---|---|
|
OAbstractSyncDatabaseTask() |
protected |
OAbstractSyncDatabaseTask(long lastOperationTimestamp) |
Modifier and Type | Method and Description |
---|---|
protected ODistributedDatabase |
databaseIsOld(ODistributedServerManager iManager,
String databaseName,
ODistributedDatabase dDatabase) |
long |
getDistributedTimeout() |
OCommandDistributedReplicateRequest.QUORUM_TYPE |
getQuorumType() |
ORemoteTask.RESULT_STRATEGY |
getResultStrategy() |
boolean |
isNodeOnlineRequired() |
void |
onMessage(String iText) |
protected void |
readOptionalLSN(DataInput in) |
protected void |
writeOptionalLSN(DataOutput out) |
getFixTask, getLastLSN, getUndoTask
checkIsValid, execute, fromStream, getName, getNodeSource, getPartitionKey, getSynchronousTimeout, getTotalTimeout, hasResponse, isIdempotent, isUsingDatabase, setNodeSource, toStream, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
finished, getFactoryId, received
public static final int CHUNK_MAX_SIZE
public static final String DEPLOYDB
public static final int FACTORYID
protected long lastOperationTimestamp
protected long random
public OAbstractSyncDatabaseTask()
protected OAbstractSyncDatabaseTask(long lastOperationTimestamp)
public ORemoteTask.RESULT_STRATEGY getResultStrategy()
getResultStrategy
in interface ORemoteTask
getResultStrategy
in class OAbstractRemoteTask
public OCommandDistributedReplicateRequest.QUORUM_TYPE getQuorumType()
getQuorumType
in interface ORemoteTask
getQuorumType
in class OAbstractRemoteTask
public long getDistributedTimeout()
getDistributedTimeout
in interface ORemoteTask
getDistributedTimeout
in class OAbstractRemoteTask
public void onMessage(String iText)
onMessage
in interface OCommandOutputListener
public boolean isNodeOnlineRequired()
isNodeOnlineRequired
in interface ORemoteTask
isNodeOnlineRequired
in class OAbstractRemoteTask
protected ODistributedDatabase databaseIsOld(ODistributedServerManager iManager, String databaseName, ODistributedDatabase dDatabase)
protected void readOptionalLSN(DataInput in) throws IOException
IOException
protected void writeOptionalLSN(DataOutput out) throws IOException
IOException
Copyright © 2009–2020 OrientDB. All rights reserved.