public class ODistributedSyncConfiguration extends Object
Constructor and Description |
---|
ODistributedSyncConfiguration(ODistributedServerManager manager,
String databaseName,
File file) |
Modifier and Type | Method and Description |
---|---|
OLogSequenceNumber |
getLastLSN(String server) |
long |
getLastOperationTimestamp() |
ODistributedMomentum |
getMomentum() |
void |
load() |
void |
removeServer(String nodeName) |
void |
save() |
void |
setLastLSN(String server,
OLogSequenceNumber lsn,
boolean updateLastOperationTimestamp) |
protected void |
updateInternalDocument() |
public ODistributedSyncConfiguration(ODistributedServerManager manager, String databaseName, File file) throws IOException
IOException
public ODistributedMomentum getMomentum()
public OLogSequenceNumber getLastLSN(String server)
public void setLastLSN(String server, OLogSequenceNumber lsn, boolean updateLastOperationTimestamp) throws IOException
IOException
public void load() throws IOException
IOException
public void save() throws IOException
IOException
public long getLastOperationTimestamp()
protected void updateInternalDocument()
public void removeServer(String nodeName) throws IOException
IOException
Copyright © 2009–2020 OrientDB. All rights reserved.