| Package | Description |
|---|---|
| org.glassfish.grizzly.thrift.client |
| Modifier and Type | Method and Description |
|---|---|
GrizzlyThriftClientManager.Builder |
GrizzlyThriftClientManager.Builder.blocking(boolean blocking)
Enable or disable the blocking mode
|
GrizzlyThriftClientManager.Builder |
GrizzlyThriftClientManager.Builder.ioStrategy(org.glassfish.grizzly.IOStrategy ioStrategy)
Set the specific IO Strategy of Grizzly
|
GrizzlyThriftClientManager.Builder |
GrizzlyThriftClientManager.Builder.maxThriftFrameLength(int maxThriftFrameLength)
Set the max length of thrift frame
|
GrizzlyThriftClientManager.Builder |
GrizzlyThriftClientManager.Builder.selectorRunnersCount(int selectorRunnersCount)
Set selector threads' count
|
GrizzlyThriftClientManager.Builder |
GrizzlyThriftClientManager.Builder.transport(org.glassfish.grizzly.nio.transport.TCPNIOTransport transport)
Set the specific
GrizzlyTransport |
GrizzlyThriftClientManager.Builder |
GrizzlyThriftClientManager.Builder.workerThreadPool(ExecutorService workerThreadPool)
Set the specific worker thread pool
|
GrizzlyThriftClientManager.Builder |
GrizzlyThriftClientManager.Builder.zooKeeperConfig(ZooKeeperConfig zooKeeperConfig)
Set the
ZooKeeperConfig for synchronizing thrift server list among thrift clients |
Copyright © 2017-2019 Oracle Corporation. All Rights Reserved.