return store;
}
private void sendSyncOffer(short nodeId, SyncMessage bsm)
throws InterruptedException {
SyncOfferMessage som = bsm.getSyncOffer();
if (!som.isSetVersions()) return;
if (logger.isTraceEnabled()) {
logger.trace("[{}->{}] Sending SyncOffer with {} elements",
new Object[]{getLocalNodeId(), nodeId,
som.getVersionsSize()});
}
som.getHeader().setTransactionId(rpcService.getTransactionId());
rpcService.writeToNode(nodeId, bsm);
}