- get() - Method in class org.glassfish.grizzly.thrift.client.RoundRobinStore
-
- getActiveCount(K) - Method in class org.glassfish.grizzly.thrift.client.pool.BaseObjectPool
-
Returns the number of instances currently borrowed from but not yet returned to the pool
- getActiveCount(K) - Method in interface org.glassfish.grizzly.thrift.client.pool.ObjectPool
-
Returns the number of instances currently borrowed from but not yet returned to the pool
- getAddressesFromStringList(String) - Static method in class org.glassfish.grizzly.thrift.client.zookeeper.ServerListBarrierListener
-
Split a string in the form of "host:port, host2:port" into a Set of
SocketAddress instances.
- getChildren(String, boolean) - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZKClient
-
- getChildren(String, Watcher) - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZKClient
-
- getCommitDelayTimeInSecs() - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZooKeeperConfig
-
- getConnectTimeoutInMillis() - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZooKeeperConfig
-
- getCurrentServerListFromZooKeeper() - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient
-
Return the current thrift server list string from the ZooKeeper server
- getCurrentServerListFromZooKeeper() - Method in interface org.glassfish.grizzly.thrift.client.zookeeper.ZooKeeperSupportThriftClient
-
Return the current thrift server list string from the ZooKeeper server
- getData(String, boolean, Stat) - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZKClient
-
- getData(String, Watcher) - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZKClient
-
- getGrizzlyConnection() - Method in class org.glassfish.grizzly.thrift.TGrizzlyClientTransport
-
- getIdleCount(K) - Method in class org.glassfish.grizzly.thrift.client.pool.BaseObjectPool
-
Returns the number of instances currently idle in this pool
- getIdleCount(K) - Method in interface org.glassfish.grizzly.thrift.client.pool.ObjectPool
-
Returns the number of instances currently idle in this pool
- getInputBuffer() - Method in class org.glassfish.grizzly.thrift.AbstractTGrizzlyTransport
-
- getInputBuffer() - Method in class org.glassfish.grizzly.thrift.TGrizzlyClientTransport
-
- getInputBuffer() - Method in class org.glassfish.grizzly.thrift.TGrizzlyServerTransport
-
- getKeepAliveTimeoutInSecs() - Method in class org.glassfish.grizzly.thrift.client.pool.BaseObjectPool
-
- getMax() - Method in class org.glassfish.grizzly.thrift.client.pool.BaseObjectPool
-
- getMin() - Method in class org.glassfish.grizzly.thrift.client.pool.BaseObjectPool
-
- getName() - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient
-
Return the name of the thrift client.
- getName() - Method in interface org.glassfish.grizzly.thrift.client.ThriftClient
-
Return the name of the thrift client.
- getName() - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZooKeeperConfig
-
- getOutputStream() - Method in class org.glassfish.grizzly.thrift.AbstractTGrizzlyTransport
-
- getOutputStream() - Method in class org.glassfish.grizzly.thrift.TGrizzlyClientTransport
-
- getOutputStream() - Method in class org.glassfish.grizzly.thrift.TGrizzlyServerTransport
-
- getPeakCount(K) - Method in class org.glassfish.grizzly.thrift.client.pool.BaseObjectPool
-
Returns the total peak number of instances
- getPeakCount(K) - Method in interface org.glassfish.grizzly.thrift.client.pool.ObjectPool
-
Returns the total peak number of instances
- getPoolSize(K) - Method in class org.glassfish.grizzly.thrift.client.pool.BaseObjectPool
-
Returns the total number of instances
- getPoolSize(K) - Method in interface org.glassfish.grizzly.thrift.client.pool.ObjectPool
-
Returns the total number of instances
- getRootPath() - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZooKeeperConfig
-
- getSessionTimeoutInMillis() - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZooKeeperConfig
-
- getStringListFromAddressSet(Set<SocketAddress>) - Static method in class org.glassfish.grizzly.thrift.client.zookeeper.ServerListBarrierListener
-
Convert server set into server list like "host:port,host2:port"
- getThriftClient(String) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClientManager
-
Looks up a named thrift client.
- getThriftClient(String) - Method in interface org.glassfish.grizzly.thrift.client.ThriftClientManager
-
Looks up a named thrift client.
- getZooKeeperServerList() - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZooKeeperConfig
-
- getZooKeeperServerListPath() - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient
-
Return the path of the thrift server list which has been registered in the ZooKeeper server
- getZooKeeperServerListPath() - Method in interface org.glassfish.grizzly.thrift.client.zookeeper.ZooKeeperSupportThriftClient
-
Return the path of the thrift server list which has been registered in the ZooKeeper server
- GrizzlyThriftClient<T extends org.apache.thrift.TServiceClient> - Class in org.glassfish.grizzly.thrift.client
-
- GrizzlyThriftClient.Builder<T extends org.apache.thrift.TServiceClient> - Class in org.glassfish.grizzly.thrift.client
-
- GrizzlyThriftClientManager - Class in org.glassfish.grizzly.thrift.client
-
- GrizzlyThriftClientManager.Builder - Class in org.glassfish.grizzly.thrift.client
-
- read(byte[], int, int) - Method in class org.glassfish.grizzly.thrift.AbstractTGrizzlyTransport
-
- registerBarrier(String, BarrierListener, byte[]) - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZKClient
-
Register the specific barrier
- remove(T) - Method in class org.glassfish.grizzly.thrift.client.RoundRobinStore
-
- removeAllObjects(K) - Method in class org.glassfish.grizzly.thrift.client.pool.BaseObjectPool
-
Clears the specified pool, removing all pooled instances corresponding to the given key
- removeAllObjects(K) - Method in interface org.glassfish.grizzly.thrift.client.pool.ObjectPool
-
Clears the specified pool, removing all pooled instances corresponding to the given key
- removeCustomListener(BarrierListener) - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ServerListBarrierListener
-
- removeObject(K, V) - Method in class org.glassfish.grizzly.thrift.client.pool.BaseObjectPool
-
Removes(invalidates) an object from the pool
- removeObject(K, V) - Method in interface org.glassfish.grizzly.thrift.client.pool.ObjectPool
-
Removes(invalidates) an object from the pool
- removeServer(SocketAddress) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient
-
Remove the given server in this thrift client
- removeServer(SocketAddress) - Method in interface org.glassfish.grizzly.thrift.client.ThriftClient
-
Remove the given server in this thrift client
- removeThriftClient(String) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClientManager
-
Remove a thrift client from the ThriftClientManager.
- removeThriftClient(String) - Method in interface org.glassfish.grizzly.thrift.client.ThriftClientManager
-
Remove a thrift client from the ThriftClientManager.
- removeZooKeeperListener(BarrierListener) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient
-
Remove the custom
BarrierListener
The given
listener will be called after thrift client's default listener will be completed.
- removeZooKeeperListener(BarrierListener) - Method in interface org.glassfish.grizzly.thrift.client.zookeeper.ZooKeeperSupportThriftClient
-
Remove the custom
BarrierListener
The given
listener will be called after thrift client's default listener will be completed.
- responseTimeoutInMillis(long) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient.Builder
-
Set global response-timeout
- retainLastServer(boolean) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient.Builder
-
Enable or disable the keeping a server in the the round-robin list when the only one server is remained in the list.
- retryCount(int) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient.Builder
-
Set retry count for connection or sending
- returnObject(K, V) - Method in class org.glassfish.grizzly.thrift.client.pool.BaseObjectPool
-
Return an instance to the pool
- returnObject(K, V) - Method in interface org.glassfish.grizzly.thrift.client.pool.ObjectPool
-
Return an instance to the pool
- returnValidation(boolean) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient.Builder
-
Enable or disable the connection validation when the connection is returned to the connection pool
- returnValidation(boolean) - Method in class org.glassfish.grizzly.thrift.client.pool.BaseObjectPool.Builder
-
- rootPath(String) - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZKClient.Builder
-
Root path for ZKClient
- RoundRobinStore<T> - Class in org.glassfish.grizzly.thrift.client
-
Returns the stored value by round-robin
- RoundRobinStore() - Constructor for class org.glassfish.grizzly.thrift.client.RoundRobinStore
-
- RoundRobinStore(Set<T>, boolean) - Constructor for class org.glassfish.grizzly.thrift.client.RoundRobinStore
-