public abstract class TrackerBuilder<K extends TrackerBuilder<K>> extends Object
Modifier and Type | Field and Description |
---|---|
static Number160 |
DEFAULT_DOMAIN |
protected Number160 |
domainKey |
protected static FutureTracker |
FUTURE_TRACKER_SHUTDOWN |
protected FutureChannelCreator |
futureChannelCreator |
protected Number160 |
locationKey |
protected Peer |
peer |
protected RoutingConfiguration |
routingConfiguration |
protected TrackerConfiguration |
trackerConfiguration |
Constructor and Description |
---|
TrackerBuilder(Peer peer,
Number160 locationKey) |
Modifier and Type | Method and Description |
---|---|
Number160 |
getDomainKey() |
FutureChannelCreator |
getFutureChannelCreator() |
RoutingConfiguration |
getRoutingConfiguration() |
TrackerConfiguration |
getTrackerConfiguration() |
void |
preBuild(String name) |
void |
self(K self) |
K |
setDomainKey(Number160 domainKey) |
K |
setFutureChannelCreator(FutureChannelCreator futureChannelCreator) |
K |
setRoutingConfiguration(RoutingConfiguration routingConfiguration) |
K |
setTrackerConfiguration(TrackerConfiguration trackerConfiguration) |
abstract FutureTracker |
start() |
public static final Number160 DEFAULT_DOMAIN
protected static final FutureTracker FUTURE_TRACKER_SHUTDOWN
protected final Peer peer
protected final Number160 locationKey
protected Number160 domainKey
protected RoutingConfiguration routingConfiguration
protected TrackerConfiguration trackerConfiguration
protected FutureChannelCreator futureChannelCreator
public void self(K self)
public Number160 getDomainKey()
public RoutingConfiguration getRoutingConfiguration()
public K setRoutingConfiguration(RoutingConfiguration routingConfiguration)
public TrackerConfiguration getTrackerConfiguration()
public K setTrackerConfiguration(TrackerConfiguration trackerConfiguration)
public FutureChannelCreator getFutureChannelCreator()
public K setFutureChannelCreator(FutureChannelCreator futureChannelCreator)
public void preBuild(String name)
public abstract FutureTracker start()
Copyright © 2013. All Rights Reserved.