public class FS4ResourcePool
extends com.yahoo.component.AbstractComponent
ListenerPool
. All users will get the same pool instance.Constructor and Description |
---|
FS4ResourcePool(Fs4Config fs4Config) |
FS4ResourcePool(int listenerThreads) |
Modifier and Type | Method and Description |
---|---|
void |
deconstruct() |
Backend |
getBackend(String host,
int port) |
Backend |
getBackend(String host,
int port,
Optional<Integer> distributionKey) |
ExecutorService |
getExecutor() |
ScheduledExecutorService |
getScheduledExecutor() |
@Inject public FS4ResourcePool(Fs4Config fs4Config)
public FS4ResourcePool(int listenerThreads)
public ExecutorService getExecutor()
public ScheduledExecutorService getScheduledExecutor()
public void deconstruct()
deconstruct
in class com.yahoo.component.AbstractComponent
Copyright © 2018. All rights reserved.