public interface OTPeer
Modifier and Type | Method and Description |
---|---|
void |
beginSyncRemoteEntity(String peerId,
int entityId,
EntitySyncCompletionCallback<State> callback) |
void |
forceResync(Integer entityId,
int revision,
String state) |
String |
getId() |
int |
getLastKnownRemoteSequence(Integer entity) |
int |
getLastTransmittedSequence(Integer entity) |
boolean |
isSynced() |
void |
send(OTOperation operation) |
void |
sendPurgeHint(Integer entityId,
int revision) |
void |
setLastKnownRemoteSequence(Integer entity,
int sequence) |
String getId()
void send(OTOperation operation)
void sendPurgeHint(Integer entityId, int revision)
void beginSyncRemoteEntity(String peerId, int entityId, EntitySyncCompletionCallback<State> callback)
void setLastKnownRemoteSequence(Integer entity, int sequence)
int getLastKnownRemoteSequence(Integer entity)
int getLastTransmittedSequence(Integer entity)
boolean isSynced()
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.