in folsom/src/main/java/com/spotify/folsom/ketama/ResolvingKetamaClient.java [70:87]
public ResolvingKetamaClient(
Resolver resolver,
ScheduledExecutorService executor,
long period,
TimeUnit periodUnit,
final Connector connector,
long shutdownDelay,
TimeUnit shutdownUnit,
Function<Collection<AddressAndClient>, NodeLocator> nodeLocator) {
this.resolver = resolver;
this.connector = connector;
this.shutdownDelay = shutdownDelay;
this.shutdownUnit = shutdownUnit;
this.executor = executor;
this.currentClient = NotConnectedClient.INSTANCE;
this.ttl = TimeUnit.SECONDS.convert(period, periodUnit);
this.nodeLocator = nodeLocator;
}