public class QueryableStateConfiguration extends Object
| 构造器和说明 |
|---|
QueryableStateConfiguration(Iterator<Integer> proxyPortRange,
Iterator<Integer> qserverPortRange,
int numProxyThreads,
int numPQueryThreads,
int numServerThreads,
int numSQueryThreads) |
| 限定符和类型 | 方法和说明 |
|---|---|
static QueryableStateConfiguration |
disabled()
Gets the configuration describing the queryable state as deactivated.
|
static QueryableStateConfiguration |
fromConfiguration(org.apache.flink.configuration.Configuration config)
Creates the
QueryableStateConfiguration from the given Configuration. |
Iterator<Integer> |
getProxyPortRange()
Returns the port range where the queryable state client proxy can listen.
|
Iterator<Integer> |
getStateServerPortRange()
Returns the port range where the queryable state server can listen.
|
int |
numProxyQueryThreads()
Returns the number of query threads for the queryable state client proxy.
|
int |
numProxyServerThreads()
Returns the number of threads for the query proxy NIO event loop.
|
int |
numStateQueryThreads()
Returns the number of threads for the thread pool that performs the actual state lookup.
|
int |
numStateServerThreads()
Returns the number of threads for the query server NIO event loop.
|
String |
toString() |
public Iterator<Integer> getProxyPortRange()
QueryableStateOptions.PROXY_PORT_RANGE.public Iterator<Integer> getStateServerPortRange()
QueryableStateOptions.SERVER_PORT_RANGE.public int numProxyServerThreads()
public int numProxyQueryThreads()
public int numStateServerThreads()
public int numStateQueryThreads()
public static QueryableStateConfiguration disabled()
public static QueryableStateConfiguration fromConfiguration(org.apache.flink.configuration.Configuration config)
QueryableStateConfiguration from the given Configuration.Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.