public class SyncBuilder extends DHTBuilder<SyncBuilder>
domainKey, futureChannelCreator, locationKey, peer, requestP2PConfiguration, routingConfiguration, versionKey| Constructor and Description |
|---|
SyncBuilder(PeerSync peerSync,
PeerAddress other) |
SyncBuilder(PeerSync peerSync,
PeerAddress other,
int blockSize)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
DataMap |
dataMap() |
SyncBuilder |
dataMap(DataMap dataMap) |
NavigableMap<Number640,Collection<Number160>> |
dataMapHash() |
ArrayList<Instruction> |
instructions() |
boolean |
isSyncFromOldVersion() |
Number640 |
key() |
SyncBuilder |
key(Number640 key) |
Set<Number640> |
keys() |
SyncBuilder |
keys(Set<Number640> keys) |
FutureDone<SyncStat> |
start() |
SyncBuilder |
syncFromOldVersion() |
SyncBuilder |
syncFromOldVersion(boolean syncFromOldVersion) |
addPeerFilter, createBuilder, domainKey, domainKey, futureChannelCreator, futureChannelCreator, isProtectDomain, isSign, isStreaming, keyPair, keyPair, locationKey, peerFilters, preBuild, protectDomain, protectDomain, requestP2PConfiguration, requestP2PConfiguration, routingConfiguration, routingConfiguration, self, sign, sign, streaming, streaming, versionKey, versionKeyconnectionTimeoutTCPMillis, connectionTimeoutTCPMillis, forceTCP, forceTCP, forceUDP, forceUDP, idleTCPSeconds, idleTCPSeconds, idleUDPSeconds, idleUDPSeconds, isForceTCP, isForceUDP, slowResponseTimeoutSeconds, slowResponseTimeoutSecondsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnectionTimeoutTCPMillis, idleTCPSeconds, idleUDPSeconds, isForceTCP, isForceUDP, slowResponseTimeoutSecondspublic SyncBuilder(PeerSync peerSync, PeerAddress other)
public SyncBuilder(PeerSync peerSync, PeerAddress other, int blockSize)
peer - The responsible peer that performs synchronizationpublic SyncBuilder dataMap(DataMap dataMap)
public Number640 key()
public SyncBuilder key(Number640 key)
public SyncBuilder keys(Set<Number640> keys)
public SyncBuilder syncFromOldVersion()
public boolean isSyncFromOldVersion()
public SyncBuilder syncFromOldVersion(boolean syncFromOldVersion)
public DataMap dataMap()
public NavigableMap<Number640,Collection<Number160>> dataMapHash()
public ArrayList<Instruction> instructions()
public FutureDone<SyncStat> start()
Copyright © 2014. All rights reserved.