Skip navigation links
A B C D E F G H I K M N O P R S T U V W Z 

A

AbstractTGrizzlyTransport - Class in org.glassfish.grizzly.thrift
Abstract class for implementing thrift's TTransport.
AbstractTGrizzlyTransport() - Constructor for class org.glassfish.grizzly.thrift.AbstractTGrizzlyTransport
 
add(T) - Method in class org.glassfish.grizzly.thrift.client.RoundRobinStore
 
addCustomListener(BarrierListener) - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ServerListBarrierListener
 
addServer(SocketAddress) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient
Add a specific server in this thrift client
addServer(SocketAddress) - Method in interface org.glassfish.grizzly.thrift.client.ThriftClient
Add a specific server in this thrift client
addZooKeeperListener(BarrierListener) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient
Add the custom BarrierListener The given listener will be called after thrift client's default listener will be completed.
addZooKeeperListener(BarrierListener) - Method in interface org.glassfish.grizzly.thrift.client.zookeeper.ZooKeeperSupportThriftClient
Add the custom BarrierListener The given listener will be called after thrift client's default listener will be completed.
allowDisposableConnection(boolean) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient.Builder
Allow or disallow disposable connections

B

BarrierListener - Interface in org.glassfish.grizzly.thrift.client.zookeeper
Listener interface for barrier in the zookeeper client
BaseObjectPool<K,V> - Class in org.glassfish.grizzly.thrift.client.pool
The basic implementation of ObjectPool for high performance and scalability This class should be thread-safe.
BaseObjectPool.Builder<K,V> - Class in org.glassfish.grizzly.thrift.client.pool
 
blocking(boolean) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClientManager.Builder
Enable or disable the blocking mode
borrowObject(K, long) - Method in class org.glassfish.grizzly.thrift.client.pool.BaseObjectPool
Obtains an instance from this pool
borrowObject(K, long) - Method in interface org.glassfish.grizzly.thrift.client.pool.ObjectPool
Obtains an instance from this pool
borrowValidation(boolean) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient.Builder
Enable or disable the connection validation when the connection is borrowed from the connection pool
borrowValidation(boolean) - Method in class org.glassfish.grizzly.thrift.client.pool.BaseObjectPool.Builder
Set whether this pool should validate the object by PoolableObjectFactory.validateObject(K, V) before returning a borrowed object to the user
build() - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient.Builder
Create an instance of the named ThriftClient.
build() - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClientManager.Builder
Create a GrizzlyThriftClientManager instance with this builder's properties
build() - Method in class org.glassfish.grizzly.thrift.client.pool.BaseObjectPool.Builder
Create an ObjectPool instance with this builder's properties
build() - Method in interface org.glassfish.grizzly.thrift.client.ThriftClientBuilder
Create an instance of the named ThriftClient.
build() - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZKClient.Builder
Build a ZKClient
Builder(String, GrizzlyThriftClientManager, TCPNIOTransport, TServiceClientFactory<T>) - Constructor for class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient.Builder
 
Builder() - Constructor for class org.glassfish.grizzly.thrift.client.GrizzlyThriftClientManager.Builder
 
Builder(PoolableObjectFactory<K, V>) - Constructor for class org.glassfish.grizzly.thrift.client.pool.BaseObjectPool.Builder
BaseObjectPool's builder constructor
Builder(String, String) - Constructor for class org.glassfish.grizzly.thrift.client.zookeeper.ZKClient.Builder
The specific name or Id for ZKClient

C

call(T) - Method in interface org.glassfish.grizzly.thrift.client.ThriftClientCallback
 
clear() - Method in class org.glassfish.grizzly.thrift.client.RoundRobinStore
 
CLIENT_ATTRIBUTE_NAME - Static variable in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient
 
close() - Method in class org.glassfish.grizzly.thrift.TGrizzlyClientTransport
 
close() - Method in class org.glassfish.grizzly.thrift.TGrizzlyServerTransport
 
commitDelayTimeInSecs(long) - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZKClient.Builder
Delay time in seconds for committing
configure(Set<T>, boolean) - Method in class org.glassfish.grizzly.thrift.client.RoundRobinStore
 
connect() - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZKClient
Connect this client to the zookeeper server
CONNECTION_POOL_ATTRIBUTE_NAME - Static variable in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient
 
connectTimeoutInMillis(long) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient.Builder
Set global connect-timeout
connectTimeoutInMillis(long) - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZKClient.Builder
Connect timeout in milli-seconds
create(String, byte[], List<ACL>, CreateMode) - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZKClient
 
create(String, String) - Static method in class org.glassfish.grizzly.thrift.client.zookeeper.ZooKeeperConfig
Create ZKClient's configuration with the specific name or Id
create(Connection) - Static method in class org.glassfish.grizzly.thrift.TGrizzlyClientTransport
 
create(Connection, long) - Static method in class org.glassfish.grizzly.thrift.TGrizzlyClientTransport
 
create(Connection, long, long) - Static method in class org.glassfish.grizzly.thrift.TGrizzlyClientTransport
 
createAllMinObjects(K) - Method in class org.glassfish.grizzly.thrift.client.pool.BaseObjectPool
Create objects using the factory until pool's minimum size, and then place them in the idle object pool
createAllMinObjects(K) - Method in interface org.glassfish.grizzly.thrift.client.pool.ObjectPool
Create objects using the factory until pool's minimum size, and then place them in the idle object pool
createObject(K) - Method in interface org.glassfish.grizzly.thrift.client.pool.PoolableObjectFactory
Create an instance that can be served by the pool
createThriftClientBuilder(String, TServiceClientFactory<T>) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClientManager
Creates a new ThriftClientBuilder for the named thrift client to be managed by this thrift client manager.
createThriftClientBuilder(String, TServiceClientFactory<T>) - Method in interface org.glassfish.grizzly.thrift.client.ThriftClientManager
Creates a new ThriftClientBuilder for the named thrift client to be managed by this thrift client manager.

D

DEFAULT_SERVER_LIST_CHARSET - Static variable in class org.glassfish.grizzly.thrift.client.zookeeper.ServerListBarrierListener
 
delete(String, int) - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZKClient
 
destroy(K) - Method in class org.glassfish.grizzly.thrift.client.pool.BaseObjectPool
Destroy the specified pool, removing all pooled instances, mapping key and statistics corresponding to the given key
destroy() - Method in class org.glassfish.grizzly.thrift.client.pool.BaseObjectPool
Destroy this pool, and free any resources associated with it
destroy(K) - Method in interface org.glassfish.grizzly.thrift.client.pool.ObjectPool
Destroy the specified pool, removing all pooled instances, mapping key and statistics corresponding to the given key
destroy() - Method in interface org.glassfish.grizzly.thrift.client.pool.ObjectPool
Destroy this pool, and free any resources associated with it
destroyObject(K, V) - Method in interface org.glassfish.grizzly.thrift.client.pool.PoolableObjectFactory
Destroy an instance no longer needed by the pool
disposable(boolean) - Method in class org.glassfish.grizzly.thrift.client.pool.BaseObjectPool.Builder
Set disposable property

E

execute(ThriftClientCallback<T, U>) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient
 
execute(ThriftClientCallback<T, U>) - Method in interface org.glassfish.grizzly.thrift.client.ThriftClient
 
exists(String, boolean) - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZKClient
 
exists(String, Watcher) - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZKClient
 

F

failover(boolean) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient.Builder
Enable or disable failover/failback
flush() - Method in class org.glassfish.grizzly.thrift.AbstractTGrizzlyTransport
 
flush() - Method in class org.glassfish.grizzly.thrift.TGrizzlyClientTransport
 
flush() - Method in class org.glassfish.grizzly.thrift.TGrizzlyServerTransport
 

G

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
The implementation of the ThriftClient based on Grizzly
GrizzlyThriftClient.Builder<T extends org.apache.thrift.TServiceClient> - Class in org.glassfish.grizzly.thrift.client
 
GrizzlyThriftClientManager - Class in org.glassfish.grizzly.thrift.client
The implementation of the ThriftClientManager based on Grizzly
GrizzlyThriftClientManager.Builder - Class in org.glassfish.grizzly.thrift.client
 

H

handleClose(FilterChainContext) - Method in class org.glassfish.grizzly.thrift.ThriftClientFilter
 
handleRead(FilterChainContext) - Method in class org.glassfish.grizzly.thrift.http.ThriftHttpClientFilter
 
handleRead(FilterChainContext) - Method in class org.glassfish.grizzly.thrift.ThriftClientFilter
 
handleRead(FilterChainContext) - Method in class org.glassfish.grizzly.thrift.ThriftFrameFilter
 
handleRead(FilterChainContext) - Method in class org.glassfish.grizzly.thrift.ThriftServerFilter
 
handleWrite(FilterChainContext) - Method in class org.glassfish.grizzly.thrift.http.ThriftHttpClientFilter
 
handleWrite(FilterChainContext) - Method in class org.glassfish.grizzly.thrift.ThriftFrameFilter
 
hasOnly(T) - Method in class org.glassfish.grizzly.thrift.client.RoundRobinStore
 
hasValue(T) - Method in class org.glassfish.grizzly.thrift.client.RoundRobinStore
 
healthMonitorIntervalInSecs(long) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient.Builder
Set health monitor's interval
httpHeader(Header, String) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient.Builder
 
httpHeader(String, String) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient.Builder
 
httpUriPath(String) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient.Builder
 

I

INPUT_BUFFERS_QUEUE_ATTRIBUTE_NAME - Static variable in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient
 
ioStrategy(IOStrategy) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClientManager.Builder
Set the specific IO Strategy of Grizzly
isBorrowValidation() - Method in class org.glassfish.grizzly.thrift.client.pool.BaseObjectPool
 
isDisposable() - Method in class org.glassfish.grizzly.thrift.client.pool.BaseObjectPool
 
isInServerList(SocketAddress) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient
Check if this thrift client contains the given server
isInServerList(SocketAddress) - Method in interface org.glassfish.grizzly.thrift.client.ThriftClient
Check if this thrift client contains the given server
isOpen() - Method in class org.glassfish.grizzly.thrift.TGrizzlyClientTransport
 
isOpen() - Method in class org.glassfish.grizzly.thrift.TGrizzlyServerTransport
 
isReturnValidation() - Method in class org.glassfish.grizzly.thrift.client.pool.BaseObjectPool
 
isZooKeeperSupported() - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient
Check if this thrift client supports the ZooKeeper for synchronizing the thrift server list
isZooKeeperSupported() - Method in interface org.glassfish.grizzly.thrift.client.zookeeper.ZooKeeperSupportThriftClient
Check if this thrift client supports the ZooKeeper for synchronizing the thrift server list

K

keepAliveTimeoutInSecs(long) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient.Builder
Set connection pool's KeepAliveTimeout
keepAliveTimeoutInSecs(long) - Method in class org.glassfish.grizzly.thrift.client.pool.BaseObjectPool.Builder
Set the KeepAliveTimeout of this pool

M

max(int) - Method in class org.glassfish.grizzly.thrift.client.pool.BaseObjectPool.Builder
Set maximum size of this pool
maxConnectionPerServer(int) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient.Builder
Set connection pool's max
maxThriftFrameLength(int) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient.Builder
Set the max length of thrift frame
maxThriftFrameLength(int) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClientManager.Builder
Set the max length of thrift frame
min(int) - Method in class org.glassfish.grizzly.thrift.client.pool.BaseObjectPool.Builder
Set minimum size of this pool
minConnectionPerServer(int) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient.Builder
Set connection pool's min

N

NoValidObjectException - Exception in org.glassfish.grizzly.thrift.client.pool
This exception will be thrown when the pool cannot create a new instance by PoolableObjectFactory.createObject(K) or there are no valid instances which used to be tested by PoolableObjectFactory.validateObject(K, V)
NoValidObjectException() - Constructor for exception org.glassfish.grizzly.thrift.client.pool.NoValidObjectException
 
NoValidObjectException(String) - Constructor for exception org.glassfish.grizzly.thrift.client.pool.NoValidObjectException
 
NoValidObjectException(String, Throwable) - Constructor for exception org.glassfish.grizzly.thrift.client.pool.NoValidObjectException
 
NoValidObjectException(Throwable) - Constructor for exception org.glassfish.grizzly.thrift.client.pool.NoValidObjectException
 

O

ObjectPool<K,V> - Interface in org.glassfish.grizzly.thrift.client.pool
Keyed object pooling interface ObjectPool interface mainly defines borrowObject, returnObject and removeObject.
onCommit(String, String, byte[]) - Method in interface org.glassfish.grizzly.thrift.client.zookeeper.BarrierListener
Called by zookeeper clients at the same time when all are prepared for commiting something
onCommit(String, String, byte[]) - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ServerListBarrierListener
 
onDestroy(String) - Method in interface org.glassfish.grizzly.thrift.client.zookeeper.BarrierListener
Called when the barrier is unregistered
onDestroy(String) - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ServerListBarrierListener
 
onInit(String, String, byte[]) - Method in interface org.glassfish.grizzly.thrift.client.zookeeper.BarrierListener
Called when the barrier is registered
onInit(String, String, byte[]) - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ServerListBarrierListener
 
open() - Method in class org.glassfish.grizzly.thrift.AbstractTGrizzlyTransport
 
org.glassfish.grizzly.thrift - package org.glassfish.grizzly.thrift
 
org.glassfish.grizzly.thrift.client - package org.glassfish.grizzly.thrift.client
 
org.glassfish.grizzly.thrift.client.pool - package org.glassfish.grizzly.thrift.client.pool
 
org.glassfish.grizzly.thrift.client.zookeeper - package org.glassfish.grizzly.thrift.client.zookeeper
 
org.glassfish.grizzly.thrift.http - package org.glassfish.grizzly.thrift.http
 

P

PoolableObjectFactory<K,V> - Interface in org.glassfish.grizzly.thrift.client.pool
An interface defining life-cycle methods for instances to be served by a ObjectPool
PoolExhaustedException - Exception in org.glassfish.grizzly.thrift.client.pool
This exception will be thrown when the pool is exhausted and cannot or will not borrow another instance
PoolExhaustedException() - Constructor for exception org.glassfish.grizzly.thrift.client.pool.PoolExhaustedException
 
PoolExhaustedException(String) - Constructor for exception org.glassfish.grizzly.thrift.client.pool.PoolExhaustedException
 
PoolExhaustedException(String, Throwable) - Constructor for exception org.glassfish.grizzly.thrift.client.pool.PoolExhaustedException
 
PoolExhaustedException(Throwable) - Constructor for exception org.glassfish.grizzly.thrift.client.pool.PoolExhaustedException
 

R

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
Set whether this pool should validate the object by PoolableObjectFactory.validateObject(K, V) before returning a borrowed object to the pool
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
 

S

selectorRunnersCount(int) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClientManager.Builder
Set selector threads' count
ServerListBarrierListener - Class in org.glassfish.grizzly.thrift.client.zookeeper
The BarrierListener implementation for synchronizing the thrift server list among all clients which have joined the same zookeeper server
ServerListBarrierListener(ThriftClient, Set<SocketAddress>) - Constructor for class org.glassfish.grizzly.thrift.client.zookeeper.ServerListBarrierListener
 
servers(Set<SocketAddress>) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient.Builder
Set initial servers
service(Request, Response) - Method in class org.glassfish.grizzly.thrift.http.ThriftHttpHandler
 
sessionTimeoutInMillis(long) - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZKClient.Builder
Session timeout in milli-seconds
setCommitDelayTimeInSecs(long) - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZooKeeperConfig
Delay time in seconds for committing
setConnectTimeoutInMillis(long) - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZooKeeperConfig
Connect timeout in milli-seconds
setCurrentServerListOfZooKeeper(String) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient
Set the current thrift server list string with the given thriftServerList
setCurrentServerListOfZooKeeper(String) - Method in interface org.glassfish.grizzly.thrift.client.zookeeper.ZooKeeperSupportThriftClient
Set the current thrift server list string with the given thriftServerList
setData(String, byte[], int) - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZKClient
 
setRootPath(String) - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZooKeeperConfig
Root path for ZKClient
setSessionTimeoutInMillis(long) - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZooKeeperConfig
Session timeout in milli-seconds
shuffle() - Method in class org.glassfish.grizzly.thrift.client.RoundRobinStore
 
shutdown() - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClientManager
Shuts down the ThriftClientManager.
shutdown() - Method in interface org.glassfish.grizzly.thrift.client.ThriftClientManager
Shuts down the ThriftClientManager.
shutdown() - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZKClient
Close this client
size() - Method in class org.glassfish.grizzly.thrift.client.RoundRobinStore
 
start() - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient
Notifies providers to start themselves.
start() - Method in interface org.glassfish.grizzly.thrift.client.ThriftClientLifecycle
Notifies providers to start themselves.
stop() - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient
Providers may be doing all sorts of exotic things and need to be able to clean up on stop.
stop() - Method in interface org.glassfish.grizzly.thrift.client.ThriftClientLifecycle
Providers may be doing all sorts of exotic things and need to be able to clean up on stop.

T

TGrizzlyClientTransport - Class in org.glassfish.grizzly.thrift
TGrizzlyClientTransport is the client-side TTransport.
TGrizzlyServerTransport - Class in org.glassfish.grizzly.thrift
TGrizzlyServerTransport is the server-side TTransport.
TGrizzlyServerTransport(Buffer, BufferOutputStream) - Constructor for class org.glassfish.grizzly.thrift.TGrizzlyServerTransport
 
ThriftClient<T extends org.apache.thrift.TServiceClient> - Interface in org.glassfish.grizzly.thrift.client
The thrift client's interface
ThriftClientBuilder<T extends org.apache.thrift.TServiceClient> - Interface in org.glassfish.grizzly.thrift.client
The builder interface for creating a ThriftClient instance
ThriftClientCallback<T extends org.apache.thrift.TServiceClient,U> - Interface in org.glassfish.grizzly.thrift.client
Thrift client callback interface User should implement this interface in order to execute custom thrift service.
ThriftClientFilter<T extends org.apache.thrift.TServiceClient> - Class in org.glassfish.grizzly.thrift
ThriftClientFilter is a client-side filter for Thrift RPC processors.
ThriftClientFilter() - Constructor for class org.glassfish.grizzly.thrift.ThriftClientFilter
 
ThriftClientLifecycle - Interface in org.glassfish.grizzly.thrift.client
Lifecycle interface of a thrift client
ThriftClientManager - Interface in org.glassfish.grizzly.thrift.client
The interface for managing thrift clients
ThriftFrameFilter - Class in org.glassfish.grizzly.thrift
ThriftFrameFilter supports TFramedTranport that ensures a fully read message by preceding messages with a 4-byte frame size.
ThriftFrameFilter() - Constructor for class org.glassfish.grizzly.thrift.ThriftFrameFilter
 
ThriftFrameFilter(int) - Constructor for class org.glassfish.grizzly.thrift.ThriftFrameFilter
 
ThriftHttpClientFilter - Class in org.glassfish.grizzly.thrift.http
ThriftHttpClientFilter is a client-side filter for Thrift RPC processors over HTTP.
ThriftHttpClientFilter(String, Map<String, String>) - Constructor for class org.glassfish.grizzly.thrift.http.ThriftHttpClientFilter
 
ThriftHttpClientFilter(String) - Constructor for class org.glassfish.grizzly.thrift.http.ThriftHttpClientFilter
 
ThriftHttpHandler - Class in org.glassfish.grizzly.thrift.http
ThriftHttpHandler is a server-side http handler for Thrift RPC processors.
ThriftHttpHandler(TProcessor) - Constructor for class org.glassfish.grizzly.thrift.http.ThriftHttpHandler
 
ThriftHttpHandler(TProcessor, TProtocolFactory) - Constructor for class org.glassfish.grizzly.thrift.http.ThriftHttpHandler
 
ThriftHttpHandler(TProcessor, int) - Constructor for class org.glassfish.grizzly.thrift.http.ThriftHttpHandler
 
ThriftHttpHandler(TProcessor, TProtocolFactory, int) - Constructor for class org.glassfish.grizzly.thrift.http.ThriftHttpHandler
 
thriftProtocol(ThriftProtocols) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient.Builder
 
ThriftProtocols - Enum in org.glassfish.grizzly.thrift.client
 
ThriftServerFilter - Class in org.glassfish.grizzly.thrift
ThriftServerFilter is a server-side filter for Thrift RPC processors.
ThriftServerFilter(TProcessor) - Constructor for class org.glassfish.grizzly.thrift.ThriftServerFilter
 
ThriftServerFilter(TProcessor, TProtocolFactory) - Constructor for class org.glassfish.grizzly.thrift.ThriftServerFilter
 
ThriftServerFilter(TProcessor, int) - Constructor for class org.glassfish.grizzly.thrift.ThriftServerFilter
 
ThriftServerFilter(TProcessor, TProtocolFactory, int) - Constructor for class org.glassfish.grizzly.thrift.ThriftServerFilter
 
toString() - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient
 
toString() - Method in class org.glassfish.grizzly.thrift.client.pool.BaseObjectPool
 
toString() - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ServerListBarrierListener
 
toString() - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZKClient
 
toString() - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZooKeeperConfig
 
transport(TCPNIOTransport) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClientManager.Builder
Set the specific GrizzlyTransport
TTimedoutException - Exception in org.glassfish.grizzly.thrift
 
TTimedoutException() - Constructor for exception org.glassfish.grizzly.thrift.TTimedoutException
 
TTimedoutException(String) - Constructor for exception org.glassfish.grizzly.thrift.TTimedoutException
 
TTimedoutException(Throwable) - Constructor for exception org.glassfish.grizzly.thrift.TTimedoutException
 
TTimedoutException(String, Throwable) - Constructor for exception org.glassfish.grizzly.thrift.TTimedoutException
 

U

unregisterBarrier(String) - Method in class org.glassfish.grizzly.thrift.client.zookeeper.ZKClient

V

validateObject(K, V) - Method in interface org.glassfish.grizzly.thrift.client.pool.PoolableObjectFactory
Ensures that the instance is safe to be borrowed and returned by the pool
validationCheckMethodName(String) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient.Builder
 
valueOf(String) - Static method in enum org.glassfish.grizzly.thrift.client.ThriftProtocols
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.glassfish.grizzly.thrift.client.ThriftProtocols
Returns an array containing the constants of this enum type, in the order they are declared.

W

workerThreadPool(ExecutorService) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClientManager.Builder
Set the specific worker thread pool
write(byte[], int, int) - Method in class org.glassfish.grizzly.thrift.AbstractTGrizzlyTransport
 
writeTimeoutInMillis(long) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClient.Builder
Set global write-timeout

Z

ZKClient - Class in org.glassfish.grizzly.thrift.client.zookeeper
Zookeeper client implementation for barrier and recoverable operation
ZKClient.Builder - Class in org.glassfish.grizzly.thrift.client.zookeeper
Builder for ZKClient
zooKeeperConfig(ZooKeeperConfig) - Method in class org.glassfish.grizzly.thrift.client.GrizzlyThriftClientManager.Builder
Set the ZooKeeperConfig for synchronizing thrift server list among thrift clients
ZooKeeperConfig - Class in org.glassfish.grizzly.thrift.client.zookeeper
The configuration for ZooKeeper client
ZooKeeperSupportThriftClient - Interface in org.glassfish.grizzly.thrift.client.zookeeper
The interface using the ZooKeeper for synchronizing thrift server list
A B C D E F G H I K M N O P R S T U V W Z 
Skip navigation links

Copyright © 2017-2019 Oracle Corporation. All Rights Reserved.