
public class ODistributedSyncConfiguration extends Object
| Constructor and Description |
|---|
ODistributedSyncConfiguration(ODistributedServerManager manager,
String databaseName,
File file) |
| Modifier and Type | Method and Description |
|---|---|
com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OLogSequenceNumber |
getLastLSN(String server) |
long |
getLastOperationTimestamp() |
ODistributedMomentum |
getMomentum() |
void |
load() |
void |
removeServer(String nodeName) |
void |
save() |
void |
setLastLSN(String server,
com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OLogSequenceNumber lsn,
boolean updateLastOperationTimestamp) |
protected void |
updateInternalDocument() |
public ODistributedSyncConfiguration(ODistributedServerManager manager, String databaseName, File file) throws IOException
IOExceptionpublic ODistributedMomentum getMomentum()
public com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OLogSequenceNumber getLastLSN(String server)
public void setLastLSN(String server, com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OLogSequenceNumber lsn, boolean updateLastOperationTimestamp) throws IOException
IOExceptionpublic void load()
throws IOException
IOExceptionpublic void save()
throws IOException
IOExceptionpublic long getLastOperationTimestamp()
protected void updateInternalDocument()
public void removeServer(String nodeName) throws IOException
IOExceptionCopyright © 2009–2018 OrientDB. All rights reserved.