public class QueryableStateConfiguration extends Object
Constructor and Description |
---|
QueryableStateConfiguration(boolean enabled,
int port,
int numServerThreads,
int numQueryThreads) |
Modifier and Type | Method and Description |
---|---|
static QueryableStateConfiguration |
disabled()
Gets the configuration describing the queryable state as deactivated.
|
boolean |
enabled()
Returns whether queryable state is enabled.
|
int |
numQueryThreads()
Returns the number of threads for the thread pool that performs the actual state lookup.
|
int |
numServerThreads()
Returns the number of threads for the query server NIO event loop.
|
int |
port()
Returns the port where the server should listen.
|
String |
toString() |
public QueryableStateConfiguration(boolean enabled, int port, int numServerThreads, int numQueryThreads)
public boolean enabled()
public int port()
public int numServerThreads()
public int numQueryThreads()
public static QueryableStateConfiguration disabled()
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.