Skip navigation links
A B C D E G H I N O P R S T U W 

A

addErrorTime(Duration) - Method in class com.facebook.swift.service.ThriftMethodStats
 
addEventHandler(ThriftEventHandler) - Method in class com.facebook.swift.service.guice.ThriftServiceExporter
 
addEventHandler(Key<? extends ThriftEventHandler>) - Method in class com.facebook.swift.service.guice.ThriftServiceExporter
 
addEventHandler(Class<? extends ThriftEventHandler>) - Method in class com.facebook.swift.service.guice.ThriftServiceExporter
 
addHandler(Class<? extends ThriftClientEventHandler>) - Method in class com.facebook.swift.service.guice.ClientEventHandlersBinder
 
addHandler(Key<? extends ThriftClientEventHandler>) - Method in class com.facebook.swift.service.guice.ClientEventHandlersBinder
 
addHandler(ThriftClientEventHandler) - Method in class com.facebook.swift.service.guice.ClientEventHandlersBinder
 
addInvokeTime(Duration) - Method in class com.facebook.swift.service.ThriftMethodStats
 
addReadByteCount(int) - Method in class com.facebook.swift.service.ThriftMethodStats
 
addReadTime(Duration) - Method in class com.facebook.swift.service.ThriftMethodStats
 
addSuccessTime(Duration) - Method in class com.facebook.swift.service.ThriftMethodStats
 
addWriteByteCount(int) - Method in class com.facebook.swift.service.ThriftMethodStats
 
addWriteTime(Duration) - Method in class com.facebook.swift.service.ThriftMethodStats
 
asynchronousInvoke(RequestChannel, TChannelBufferInputTransport, TChannelBufferOutputTransport, TProtocol, TProtocol, int, ClientContextChain, Object[]) - Method in class com.facebook.swift.service.ThriftMethodHandler
 

B

bindFrameCodecFactory(Binder, String, Class<? extends ThriftFrameCodecFactory>) - Static method in class com.facebook.swift.service.guice.ThriftServerModule
 
bindFrameCodecFactory(Binder, String, ThriftFrameCodecFactory) - Static method in class com.facebook.swift.service.guice.ThriftServerModule
 
bindProtocolFactory(Binder, String, Class<? extends TDuplexProtocolFactory>) - Static method in class com.facebook.swift.service.guice.ThriftServerModule
 
bindProtocolFactory(Binder, String, TDuplexProtocolFactory) - Static method in class com.facebook.swift.service.guice.ThriftServerModule
 
bindThriftClient(Class<T>) - Method in class com.facebook.swift.service.guice.ThriftClientBinder
 
bindThriftClient(Class<T>, Class<? extends Annotation>) - Method in class com.facebook.swift.service.guice.ThriftClientBinder
 
bindWorkerExecutor(Binder, String, Class<? extends ExecutorService>) - Static method in class com.facebook.swift.service.guice.ThriftServerModule
 
bindWorkerExecutor(Binder, String, Provider<? extends ExecutorService>) - Static method in class com.facebook.swift.service.guice.ThriftServerModule
 
bindWorkerExecutor(Binder, String, ExecutorService) - Static method in class com.facebook.swift.service.guice.ThriftServerModule
 
bindWorkerExecutorProvider(Binder, String, Class<? extends Provider<? extends ExecutorService>>) - Static method in class com.facebook.swift.service.guice.ThriftServerModule
 

C

ClientContextChain - Class in com.facebook.swift.service
 
ClientEventHandlersBinder - Class in com.facebook.swift.service.guice
 
ClientEventHandlersBinder(Multibinder<ThriftClientEventHandler>) - Constructor for class com.facebook.swift.service.guice.ClientEventHandlersBinder
 
clientEventHandlersBinder(Binder) - Static method in class com.facebook.swift.service.guice.ClientEventHandlersBinder
 
close() - Method in class com.facebook.swift.service.ThriftClientManager
 
close() - Method in class com.facebook.swift.service.ThriftServer
 
com.facebook.swift.service - package com.facebook.swift.service
 
com.facebook.swift.service.guice - package com.facebook.swift.service.guice
 
com.facebook.swift.service.metadata - package com.facebook.swift.service.metadata
 
configure(Binder) - Method in class com.facebook.swift.service.guice.ThriftClientModule
 
configure(Binder) - Method in class com.facebook.swift.service.guice.ThriftClientStatsModule
 
configure(Binder) - Method in class com.facebook.swift.service.guice.ThriftServerModule
 
configure(Binder) - Method in class com.facebook.swift.service.guice.ThriftServerStatsModule
 
ContextChain - Class in com.facebook.swift.service
 
createAndWriteApplicationException(TProtocol, RequestContext, String, int, int, String, Throwable) - Static method in class com.facebook.swift.service.ThriftServiceProcessor
 
createChannel(NiftyClientConnector<C>) - Method in class com.facebook.swift.service.ThriftClientManager
 
createChannel(NiftyClientConnector<C>, Duration, Duration, Duration, Duration, int, HostAndPort) - Method in class com.facebook.swift.service.ThriftClientManager
 
createClient(NiftyClientConnector<C>, Class<T>) - Method in class com.facebook.swift.service.ThriftClientManager
 
createClient(NiftyClientConnector<C>, Class<T>, Duration, Duration, Duration, int, String, List<? extends ThriftClientEventHandler>, HostAndPort) - Method in class com.facebook.swift.service.ThriftClientManager
createClient(NiftyClientConnector<C>, Class<T>, Duration, Duration, Duration, Duration, int, String, List<? extends ThriftClientEventHandler>, HostAndPort) - Method in class com.facebook.swift.service.ThriftClientManager
 
createClient(NiftyClientChannel, Class<T>) - Method in class com.facebook.swift.service.ThriftClientManager
 
createClient(NiftyClientChannel, Class<T>, List<? extends ThriftClientEventHandler>) - Method in class com.facebook.swift.service.ThriftClientManager
 
createClient(RequestChannel, Class<T>, String, List<? extends ThriftClientEventHandler>) - Method in class com.facebook.swift.service.ThriftClientManager
 

D

declaredUserException(Throwable, ThriftCodec<?>) - Method in class com.facebook.swift.service.ContextChain
 
declaredUserException(Object, String, Throwable, ThriftCodec<?>) - Method in class com.facebook.swift.service.ThriftEventHandler
 
DEFAULT_CONNECT_TIMEOUT - Static variable in class com.facebook.swift.service.ThriftClientConfig
 
DEFAULT_FRAME_CODEC_FACTORIES - Static variable in class com.facebook.swift.service.ThriftServer
 
DEFAULT_MAX_FRAME_SIZE - Static variable in class com.facebook.swift.service.ThriftClientConfig
 
DEFAULT_NAME - Static variable in class com.facebook.swift.service.ThriftClientManager
 
DEFAULT_PROTOCOL_FACTORIES - Static variable in class com.facebook.swift.service.ThriftServer
 
DEFAULT_READ_TIMEOUT - Static variable in class com.facebook.swift.service.ThriftClientConfig
 
DEFAULT_RECEIVE_TIMEOUT - Static variable in class com.facebook.swift.service.ThriftClientConfig
 
DEFAULT_SECURITY_FACTORY - Static variable in class com.facebook.swift.service.ThriftServer
 
DEFAULT_SSL_SERVER_CONFIGURATION - Static variable in class com.facebook.swift.service.ThriftServer
 
DEFAULT_TRANSPORT_ATTACH_OBSERVER - Static variable in class com.facebook.swift.service.ThriftServer
 
DEFAULT_WORKER_EXECUTORS - Static variable in class com.facebook.swift.service.ThriftServer
 
DEFAULT_WRITE_TIMEOUT - Static variable in class com.facebook.swift.service.ThriftClientConfig
 
done() - Method in class com.facebook.swift.service.ClientContextChain
 
done() - Method in class com.facebook.swift.service.ContextChain
 
done(Object, String) - Method in class com.facebook.swift.service.ThriftClientEventHandler
 
done(Object, String) - Method in class com.facebook.swift.service.ThriftClientStatsHandler
 
done(Object, String) - Method in class com.facebook.swift.service.ThriftEventHandler
 
done(Object, String) - Method in class com.facebook.swift.service.ThriftServiceStatsHandler
 

E

equals(Object) - Method in class com.facebook.swift.service.guice.ThriftClientBinder.ThriftClientProvider
 
equals(Object) - Method in class com.facebook.swift.service.guice.ThriftServiceExporter.ThriftServiceExport
 
equals(Object) - Method in class com.facebook.swift.service.metadata.ThriftMethodMetadata
 
equals(Object) - Method in class com.facebook.swift.service.metadata.ThriftServiceMetadata
 
exportThriftService(Class<T>) - Method in class com.facebook.swift.service.guice.ThriftServiceExporter
 
exportThriftService(Class<T>, Class<? extends Annotation>) - Method in class com.facebook.swift.service.guice.ThriftServiceExporter
 
exportThriftService(Key<T>) - Method in class com.facebook.swift.service.guice.ThriftServiceExporter
 

G

get() - Method in class com.facebook.swift.service.guice.ThriftClientBinder.ThriftClientProvider
 
get() - Method in class com.facebook.swift.service.guice.ThriftServiceExporter.ThriftServiceProcessorProvider
 
getAcceptBacklog() - Method in class com.facebook.swift.service.ThriftServerConfig
 
getAcceptorThreadCount() - Method in class com.facebook.swift.service.ThriftServerConfig
 
getAcceptorThreads() - Method in class com.facebook.swift.service.ThriftServer
 
getBindAddress() - Method in class com.facebook.swift.service.ThriftServerConfig
 
getClientMetadata() - Method in class com.facebook.swift.service.guice.ThriftClientBinder.ThriftClientProvider
 
getClientMetadata(Class<?>, String) - Method in class com.facebook.swift.service.ThriftClientManager
 
getClientName() - Method in class com.facebook.swift.service.ThriftClient
 
getClientName() - Method in class com.facebook.swift.service.ThriftClientManager.ThriftClientMetadata
 
getClientStats(Set<ThriftClientBinder.ThriftClientProvider>, Set<ThriftClientEventHandler>) - Method in class com.facebook.swift.service.guice.ThriftClientStatsModule
 
getClientType() - Method in class com.facebook.swift.service.ThriftClient
 
getClientType() - Method in class com.facebook.swift.service.ThriftClientManager.ThriftClientMetadata
 
getConnectionLimit() - Method in class com.facebook.swift.service.ThriftServerConfig
 
getConnectTimeout() - Method in class com.facebook.swift.service.ThriftClient
 
getConnectTimeout() - Method in class com.facebook.swift.service.ThriftClientConfig
 
getContext(String, ClientRequestContext) - Method in class com.facebook.swift.service.ThriftClientEventHandler
 
getContext(String, ClientRequestContext) - Method in class com.facebook.swift.service.ThriftClientStatsHandler
 
getContext(String, RequestContext) - Method in class com.facebook.swift.service.ThriftEventHandler
 
getContext(String, RequestContext) - Method in class com.facebook.swift.service.ThriftServiceStatsHandler
 
getDeclaredMethods() - Method in class com.facebook.swift.service.metadata.ThriftServiceMetadata
 
getDefaultSocksProxy() - Method in class com.facebook.swift.service.ThriftClientManager
 
getDefaultSocksProxyAddress() - Method in class com.facebook.swift.service.ThriftClientManagerConfig
 
getDocumentation() - Method in class com.facebook.swift.service.metadata.ThriftMethodMetadata
 
getDocumentation() - Method in class com.facebook.swift.service.metadata.ThriftServiceMetadata
 
getError() - Method in class com.facebook.swift.service.ThriftMethodStats
 
getException(short) - Method in class com.facebook.swift.service.metadata.ThriftMethodMetadata
 
getExceptions() - Method in class com.facebook.swift.service.metadata.ThriftMethodMetadata
 
getIdleConnectionTimeout() - Method in class com.facebook.swift.service.ThriftServerConfig
 
getInputProtocol(Object) - Method in class com.facebook.swift.service.ThriftClientManager
 
getInvoke() - Method in class com.facebook.swift.service.ThriftMethodStats
 
getIoThreadCount() - Method in class com.facebook.swift.service.ThriftServerConfig
 
getIoThreads() - Method in class com.facebook.swift.service.ThriftServer
 
getKey() - Method in class com.facebook.swift.service.guice.ThriftServiceExporter.ThriftServiceExport
 
getMaxFrameSize() - Method in class com.facebook.swift.service.ThriftClient
 
getMaxFrameSize() - Method in class com.facebook.swift.service.ThriftClientConfig
 
getMaxFrameSize() - Method in class com.facebook.swift.service.ThriftServerConfig
 
getMaxQueuedRequests() - Method in class com.facebook.swift.service.ThriftServerConfig
 
getMaxQueuedResponsesPerConnection() - Method in class com.facebook.swift.service.ThriftServerConfig
 
getMethod() - Method in class com.facebook.swift.service.metadata.ThriftMethodMetadata
 
getMethod(String) - Method in class com.facebook.swift.service.metadata.ThriftServiceMetadata
 
getMethodHandlers() - Method in class com.facebook.swift.service.ThriftClientManager.ThriftClientMetadata
 
getMethods() - Method in class com.facebook.swift.service.metadata.ThriftServiceMetadata
 
getMethods() - Method in class com.facebook.swift.service.ThriftServiceProcessor
 
getMethodStats(ThriftServiceProcessor, ThriftServiceStatsHandler) - Method in class com.facebook.swift.service.guice.ThriftServerStatsModule
 
getName() - Method in class com.facebook.swift.service.metadata.ThriftMethodMetadata
 
getName() - Method in class com.facebook.swift.service.metadata.ThriftServiceMetadata
 
getName() - Method in class com.facebook.swift.service.ThriftClientManager.ThriftClientMetadata
 
getName() - Method in class com.facebook.swift.service.ThriftMethodHandler
 
getName() - Method in class com.facebook.swift.service.ThriftMethodProcessor
 
getNiftyChannel(Object) - Method in class com.facebook.swift.service.ThriftClientManager
Deprecated.
Use ThriftClientManager.getRequestChannel(java.lang.Object) instead, and cast the result to a NiftyClientChannel if necessary
getOneway() - Method in class com.facebook.swift.service.metadata.ThriftMethodMetadata
 
getOrBuildWorkerExecutor(Map<String, ExecutorService>) - Method in class com.facebook.swift.service.ThriftServerConfig
Builds the ExecutorService used for running Thrift server methods.
getOutputProtocol(Object) - Method in class com.facebook.swift.service.ThriftClientManager
 
getParameters() - Method in class com.facebook.swift.service.metadata.ThriftMethodMetadata
 
getParentService() - Method in class com.facebook.swift.service.metadata.ThriftServiceMetadata
 
getParentServices() - Method in class com.facebook.swift.service.metadata.ThriftServiceMetadata
 
getPort() - Method in class com.facebook.swift.service.ThriftServer
 
getPort() - Method in class com.facebook.swift.service.ThriftServerConfig
 
getProtocolName() - Method in class com.facebook.swift.service.ThriftServerConfig
 
getQualifiedName() - Method in class com.facebook.swift.service.metadata.ThriftMethodMetadata
 
getQualifiedName() - Method in class com.facebook.swift.service.ThriftMethodHandler
 
getQualifiedName() - Method in class com.facebook.swift.service.ThriftMethodProcessor
 
getQueueTimeout() - Method in class com.facebook.swift.service.ThriftServerConfig
 
getRead() - Method in class com.facebook.swift.service.ThriftMethodStats
 
getReadSize() - Method in class com.facebook.swift.service.ThriftMethodStats
 
getReadSizeTotal() - Method in class com.facebook.swift.service.ThriftMethodStats
 
getReadTimeout() - Method in class com.facebook.swift.service.ThriftClient
 
getReadTimeout() - Method in class com.facebook.swift.service.ThriftClientConfig
 
getReceiveTimeout() - Method in class com.facebook.swift.service.ThriftClient
 
getReceiveTimeout() - Method in class com.facebook.swift.service.ThriftClientConfig
 
getRemoteAddress(Object) - Method in class com.facebook.swift.service.ThriftClientManager
Returns the remote address that a Swift client is connected to
getRequestChannel(Object) - Method in class com.facebook.swift.service.ThriftClientManager
Returns the RequestChannel backing a Swift client
getReturnType() - Method in class com.facebook.swift.service.metadata.ThriftMethodMetadata
 
getServiceClass() - Method in class com.facebook.swift.service.ThriftMethodProcessor
 
getServiceName() - Method in class com.facebook.swift.service.ThriftMethodProcessor
 
getSocksProxy() - Method in class com.facebook.swift.service.ThriftClient
 
getSocksProxy() - Method in class com.facebook.swift.service.ThriftClientConfig
 
getSslClientConfiguration() - Method in class com.facebook.swift.service.ThriftClientManagerConfig
 
getStats() - Method in class com.facebook.swift.service.ThriftClientStatsHandler
 
getStats() - Method in class com.facebook.swift.service.ThriftServiceStatsHandler
 
getSuccess() - Method in class com.facebook.swift.service.ThriftMethodStats
 
getTaskExpirationTimeout() - Method in class com.facebook.swift.service.ThriftServerConfig
 
getThriftServerTimer() - Method in class com.facebook.swift.service.guice.ThriftServerModule
 
getThriftServiceAnnotation(Class<?>) - Static method in class com.facebook.swift.service.metadata.ThriftServiceMetadata
 
getTrafficClass() - Method in class com.facebook.swift.service.ThriftServerConfig
 
getTransportName() - Method in class com.facebook.swift.service.ThriftServerConfig
 
getWorkerExecutor() - Method in class com.facebook.swift.service.ThriftServer
 
getWorkerExecutorKey() - Method in class com.facebook.swift.service.ThriftServerConfig
 
getWorkerThreadCount() - Method in class com.facebook.swift.service.ThriftClientManagerConfig
 
getWorkerThreads() - Method in class com.facebook.swift.service.ThriftServer
 
getWorkerThreads() - Method in class com.facebook.swift.service.ThriftServerConfig
 
getWrite() - Method in class com.facebook.swift.service.ThriftMethodStats
 
getWriteSize() - Method in class com.facebook.swift.service.ThriftMethodStats
 
getWriteSizeTotal() - Method in class com.facebook.swift.service.ThriftMethodStats
 
getWriteTimeout() - Method in class com.facebook.swift.service.ThriftClient
 
getWriteTimeout() - Method in class com.facebook.swift.service.ThriftClientConfig
 

H

hashCode() - Method in class com.facebook.swift.service.guice.ThriftClientBinder.ThriftClientProvider
 
hashCode() - Method in class com.facebook.swift.service.guice.ThriftServiceExporter.ThriftServiceExport
 
hashCode() - Method in class com.facebook.swift.service.metadata.ThriftMethodMetadata
 
hashCode() - Method in class com.facebook.swift.service.metadata.ThriftServiceMetadata
 

I

invoke(RequestChannel, TChannelBufferInputTransport, TChannelBufferOutputTransport, TProtocol, TProtocol, int, ClientContextChain, Object...) - Method in class com.facebook.swift.service.ThriftMethodHandler
 
isAsync() - Method in class com.facebook.swift.service.metadata.ThriftMethodMetadata
 
isRunning() - Method in class com.facebook.swift.service.ThriftServer
 

N

niftySecurityFactory - Variable in class com.facebook.swift.service.ThriftServer.NiftySecurityFactoryHolder
 
NiftySecurityFactoryHolder() - Constructor for class com.facebook.swift.service.ThriftServer.NiftySecurityFactoryHolder
 
NiftySecurityFactoryHolder(NiftySecurityFactory) - Constructor for class com.facebook.swift.service.ThriftServer.NiftySecurityFactoryHolder
 

O

open(NiftyClientConnector<? extends NiftyClientChannel>) - Method in class com.facebook.swift.service.ThriftClient
Asynchronously connect to a service to create a new client
open(RequestChannel) - Method in class com.facebook.swift.service.ThriftClient
Create a new client from an existing connection

P

postRead(Object) - Method in class com.facebook.swift.service.ClientContextChain
 
postRead(Object[]) - Method in class com.facebook.swift.service.ContextChain
 
postRead(Object, String, Object) - Method in class com.facebook.swift.service.ThriftClientEventHandler
 
postRead(Object, String, Object) - Method in class com.facebook.swift.service.ThriftClientStatsHandler
 
postRead(Object, String, Object[]) - Method in class com.facebook.swift.service.ThriftEventHandler
 
postRead(Object, String, Object[]) - Method in class com.facebook.swift.service.ThriftServiceStatsHandler
 
postReadException(Throwable) - Method in class com.facebook.swift.service.ClientContextChain
 
postReadException(Object, String, Throwable) - Method in class com.facebook.swift.service.ThriftClientEventHandler
 
postReadException(Object, String, Throwable) - Method in class com.facebook.swift.service.ThriftClientStatsHandler
 
postWrite(Object[]) - Method in class com.facebook.swift.service.ClientContextChain
 
postWrite(Object) - Method in class com.facebook.swift.service.ContextChain
 
postWrite(Object, String, Object[]) - Method in class com.facebook.swift.service.ThriftClientEventHandler
 
postWrite(Object, String, Object[]) - Method in class com.facebook.swift.service.ThriftClientStatsHandler
 
postWrite(Object, String, Object) - Method in class com.facebook.swift.service.ThriftEventHandler
 
postWrite(Object, String, Object) - Method in class com.facebook.swift.service.ThriftServiceStatsHandler
 
postWriteException(Throwable) - Method in class com.facebook.swift.service.ContextChain
 
postWriteException(Object, String, Throwable) - Method in class com.facebook.swift.service.ThriftEventHandler
 
postWriteException(Object, String, Throwable) - Method in class com.facebook.swift.service.ThriftServiceStatsHandler
 
preRead() - Method in class com.facebook.swift.service.ClientContextChain
 
preRead() - Method in class com.facebook.swift.service.ContextChain
 
preRead(Object, String) - Method in class com.facebook.swift.service.ThriftClientEventHandler
 
preRead(Object, String) - Method in class com.facebook.swift.service.ThriftClientStatsHandler
 
preRead(Object, String) - Method in class com.facebook.swift.service.ThriftEventHandler
 
preRead(Object, String) - Method in class com.facebook.swift.service.ThriftServiceStatsHandler
 
preReadException(Throwable) - Method in class com.facebook.swift.service.ClientContextChain
 
preReadException(Object, String, Throwable) - Method in class com.facebook.swift.service.ThriftClientEventHandler
 
preReadException(Object, String, Throwable) - Method in class com.facebook.swift.service.ThriftClientStatsHandler
 
preWrite(Object[]) - Method in class com.facebook.swift.service.ClientContextChain
 
preWrite(Object) - Method in class com.facebook.swift.service.ContextChain
 
preWrite(Object, String, Object[]) - Method in class com.facebook.swift.service.ThriftClientEventHandler
 
preWrite(Object, String, Object[]) - Method in class com.facebook.swift.service.ThriftClientStatsHandler
 
preWrite(Object, String, Object) - Method in class com.facebook.swift.service.ThriftEventHandler
 
preWrite(Object, String, Object) - Method in class com.facebook.swift.service.ThriftServiceStatsHandler
 
preWriteException(Throwable) - Method in class com.facebook.swift.service.ContextChain
 
preWriteException(Object, String, Throwable) - Method in class com.facebook.swift.service.ThriftEventHandler
 
preWriteException(Object, String, Throwable) - Method in class com.facebook.swift.service.ThriftServiceStatsHandler
 
process(TProtocol, TProtocol, int, ContextChain) - Method in class com.facebook.swift.service.ThriftMethodProcessor
 
process(TProtocol, TProtocol, RequestContext) - Method in class com.facebook.swift.service.ThriftServiceProcessor
 

R

RuntimeTApplicationException - Exception in com.facebook.swift.service
Runtime equivalent of TApplicationException.
RuntimeTApplicationException(String, TApplicationException) - Constructor for exception com.facebook.swift.service.RuntimeTApplicationException
 
RuntimeTException - Exception in com.facebook.swift.service
Runtime equivalent of TException.
RuntimeTException(String, TException) - Constructor for exception com.facebook.swift.service.RuntimeTException
 
RuntimeTProtocolException - Exception in com.facebook.swift.service
Runtime equivalent of TProtocolException.
RuntimeTProtocolException(String, TProtocolException) - Constructor for exception com.facebook.swift.service.RuntimeTProtocolException
 
RuntimeTTransportException - Exception in com.facebook.swift.service
Runtime equivalent of TTransportException.
RuntimeTTransportException(String, TTransportException) - Constructor for exception com.facebook.swift.service.RuntimeTTransportException
 

S

setAcceptBacklog(int) - Method in class com.facebook.swift.service.ThriftServerConfig
Sets the number of pending connections that the ServerSocket will queue up before the server process can actually accept them.
setAcceptorThreadCount(int) - Method in class com.facebook.swift.service.ThriftServerConfig
 
setBindAddress(String) - Method in class com.facebook.swift.service.ThriftServerConfig
 
setClientManager(ThriftClientManager) - Method in class com.facebook.swift.service.guice.ThriftClientBinder.ThriftClientProvider
 
setConnectionLimit(int) - Method in class com.facebook.swift.service.ThriftServerConfig
Sets an upper bound on the number of concurrent connections the server will accept.
setConnectTimeout(Duration) - Method in class com.facebook.swift.service.ThriftClientConfig
 
setDefaultSocksProxyAddress(HostAndPort) - Method in class com.facebook.swift.service.ThriftClientManagerConfig
 
setIdleConnectionTimeout(Duration) - Method in class com.facebook.swift.service.ThriftServerConfig
Sets a timeout period between receiving requests from a client connection.
setInjector(Injector) - Method in class com.facebook.swift.service.guice.ThriftClientBinder.ThriftClientProvider
 
setIoThreadCount(int) - Method in class com.facebook.swift.service.ThriftServerConfig
 
setMaxFrameSize(int) - Method in class com.facebook.swift.service.ThriftClientConfig
 
setMaxFrameSize(DataSize) - Method in class com.facebook.swift.service.ThriftServerConfig
Sets a maximum frame size
setMaxQueuedRequests(Integer) - Method in class com.facebook.swift.service.ThriftServerConfig
Sets the maximum number of received requests that will wait in the queue to be executed.
setMaxQueuedResponsesPerConnection(int) - Method in class com.facebook.swift.service.ThriftServerConfig
Sets the maximum number of responses that may accumulate per connection before the connection starts blocking reads (to avoid building up limitless queued responses).
setPort(int) - Method in class com.facebook.swift.service.ThriftServerConfig
 
setProtocolName(String) - Method in class com.facebook.swift.service.ThriftServerConfig
Sets the name of the protocol that this server will speak.
setQueueTimeout(Duration) - Method in class com.facebook.swift.service.ThriftServerConfig
Sets a timeout period between receiving a request and the pulling the request off the queue.
setReadTimeout(Duration) - Method in class com.facebook.swift.service.ThriftClientConfig
 
setReceiveTimeout(Duration) - Method in class com.facebook.swift.service.ThriftClientConfig
 
setSocksProxy(HostAndPort) - Method in class com.facebook.swift.service.ThriftClientConfig
 
setSslClientConfiguration(SslClientConfiguration) - Method in class com.facebook.swift.service.ThriftClientManagerConfig
 
setTaskExpirationTimeout(Duration) - Method in class com.facebook.swift.service.ThriftServerConfig
Sets a timeout period between receiving a request and the completion of that request.
setTrafficClass(int) - Method in class com.facebook.swift.service.ThriftServerConfig
 
setTransportName(String) - Method in class com.facebook.swift.service.ThriftServerConfig
Sets the name of the transport (frame codec) that this server will handle.
setWorkerExecutor(ExecutorService) - Method in class com.facebook.swift.service.ThriftServerConfig
Sets the executor that will be used to process thrift requests after they arrive.
setWorkerExecutorKey(String) - Method in class com.facebook.swift.service.ThriftServerConfig
Sets the key for locating an ExecutorService from the mapped executors installed by Guice modules.
setWorkerThreadCount(int) - Method in class com.facebook.swift.service.ThriftClientManagerConfig
 
setWorkerThreads(int) - Method in class com.facebook.swift.service.ThriftServerConfig
Sets the number of worker threads that will be created for processing thrift requests after they have arrived.
setWriteTimeout(Duration) - Method in class com.facebook.swift.service.ThriftClientConfig
 
sslServerConfiguration - Variable in class com.facebook.swift.service.ThriftServer.SslServerConfigurationHolder
 
SslServerConfigurationHolder() - Constructor for class com.facebook.swift.service.ThriftServer.SslServerConfigurationHolder
 
SslServerConfigurationHolder(SslServerConfiguration) - Constructor for class com.facebook.swift.service.ThriftServer.SslServerConfigurationHolder
 
start() - Method in class com.facebook.swift.service.ThriftServer
 

T

ThriftClient<T> - Class in com.facebook.swift.service
 
ThriftClient(ThriftClientManager, Class<T>) - Constructor for class com.facebook.swift.service.ThriftClient
 
ThriftClient(ThriftClientManager, Class<T>, ThriftClientConfig, String) - Constructor for class com.facebook.swift.service.ThriftClient
 
ThriftClient(ThriftClientManager, Class<T>, ThriftClientConfig, String, List<? extends ThriftClientEventHandler>) - Constructor for class com.facebook.swift.service.ThriftClient
 
ThriftClient(ThriftClientManager, Class<T>, String, Duration, Duration, Duration, Duration, HostAndPort, int, List<? extends ThriftClientEventHandler>) - Constructor for class com.facebook.swift.service.ThriftClient
 
ThriftClientBinder - Class in com.facebook.swift.service.guice
 
thriftClientBinder(Binder) - Static method in class com.facebook.swift.service.guice.ThriftClientBinder
 
ThriftClientBinder.ThriftClientProvider<T> - Class in com.facebook.swift.service.guice
 
ThriftClientConfig - Class in com.facebook.swift.service
 
ThriftClientConfig() - Constructor for class com.facebook.swift.service.ThriftClientConfig
 
ThriftClientEventHandler - Class in com.facebook.swift.service
 
ThriftClientEventHandler() - Constructor for class com.facebook.swift.service.ThriftClientEventHandler
 
ThriftClientManager - Class in com.facebook.swift.service
 
ThriftClientManager() - Constructor for class com.facebook.swift.service.ThriftClientManager
 
ThriftClientManager(ClassLoader) - Constructor for class com.facebook.swift.service.ThriftClientManager
 
ThriftClientManager(ThriftCodecManager) - Constructor for class com.facebook.swift.service.ThriftClientManager
 
ThriftClientManager(ThriftCodecManager, NiftyClient, Set<ThriftClientEventHandler>) - Constructor for class com.facebook.swift.service.ThriftClientManager
 
ThriftClientManager.ThriftClientMetadata - Class in com.facebook.swift.service
 
ThriftClientManagerConfig - Class in com.facebook.swift.service
 
ThriftClientManagerConfig() - Constructor for class com.facebook.swift.service.ThriftClientManagerConfig
 
ThriftClientModule - Class in com.facebook.swift.service.guice
 
ThriftClientModule() - Constructor for class com.facebook.swift.service.guice.ThriftClientModule
 
ThriftClientProvider(Class<T>, String, Key<ThriftClientConfig>, Key<Set<ThriftClientEventHandler>>) - Constructor for class com.facebook.swift.service.guice.ThriftClientBinder.ThriftClientProvider
 
ThriftClientStatsHandler - Class in com.facebook.swift.service
 
ThriftClientStatsHandler() - Constructor for class com.facebook.swift.service.ThriftClientStatsHandler
 
ThriftClientStatsModule - Class in com.facebook.swift.service.guice
 
ThriftClientStatsModule() - Constructor for class com.facebook.swift.service.guice.ThriftClientStatsModule
 
ThriftEventHandler - Class in com.facebook.swift.service
 
ThriftEventHandler() - Constructor for class com.facebook.swift.service.ThriftEventHandler
 
ThriftMethodHandler - Class in com.facebook.swift.service
 
ThriftMethodHandler(ThriftMethodMetadata, ThriftCodecManager) - Constructor for class com.facebook.swift.service.ThriftMethodHandler
 
ThriftMethodMetadata - Class in com.facebook.swift.service.metadata
 
ThriftMethodMetadata(String, Method, ThriftCatalog) - Constructor for class com.facebook.swift.service.metadata.ThriftMethodMetadata
 
ThriftMethodProcessor - Class in com.facebook.swift.service
 
ThriftMethodProcessor(Object, String, ThriftMethodMetadata, ThriftCodecManager) - Constructor for class com.facebook.swift.service.ThriftMethodProcessor
 
ThriftMethodStats - Class in com.facebook.swift.service
 
ThriftMethodStats() - Constructor for class com.facebook.swift.service.ThriftMethodStats
 
ThriftServer - Class in com.facebook.swift.service
 
ThriftServer(NiftyProcessor) - Constructor for class com.facebook.swift.service.ThriftServer
 
ThriftServer(NiftyProcessor, ThriftServerConfig) - Constructor for class com.facebook.swift.service.ThriftServer
 
ThriftServer(NiftyProcessor, ThriftServerConfig, Timer) - Constructor for class com.facebook.swift.service.ThriftServer
 
ThriftServer(NiftyProcessor, ThriftServerConfig, Timer, Map<String, ThriftFrameCodecFactory>, Map<String, TDuplexProtocolFactory>, Map<String, ExecutorService>, NiftySecurityFactory, SslServerConfiguration, TransportAttachObserver) - Constructor for class com.facebook.swift.service.ThriftServer
 
ThriftServer(NiftyProcessor, ThriftServerConfig, Timer, Map<String, ThriftFrameCodecFactory>, Map<String, TDuplexProtocolFactory>, Map<String, ExecutorService>, ThriftServer.NiftySecurityFactoryHolder, ThriftServer.SslServerConfigurationHolder, ThriftServer.TransportAttachObserverHolder) - Constructor for class com.facebook.swift.service.ThriftServer
 
ThriftServer(NettyServerConfig, ThriftServerDef) - Constructor for class com.facebook.swift.service.ThriftServer
A ThriftServer constructor that takes raw Netty configuration parameters
ThriftServer.NiftySecurityFactoryHolder - Class in com.facebook.swift.service
Do not use this class.
ThriftServer.SslServerConfigurationHolder - Class in com.facebook.swift.service
Do not use this class.
ThriftServer.TransportAttachObserverHolder - Class in com.facebook.swift.service
Do not use this class.
thriftServerBinder(Binder) - Static method in class com.facebook.swift.service.guice.ThriftServiceExporter
 
ThriftServerConfig - Class in com.facebook.swift.service
 
ThriftServerConfig() - Constructor for class com.facebook.swift.service.ThriftServerConfig
 
ThriftServerModule - Class in com.facebook.swift.service.guice
 
ThriftServerModule() - Constructor for class com.facebook.swift.service.guice.ThriftServerModule
 
ThriftServerStatsModule - Class in com.facebook.swift.service.guice
 
ThriftServerStatsModule() - Constructor for class com.facebook.swift.service.guice.ThriftServerStatsModule
 
ThriftServerTimer - Annotation Type in com.facebook.swift.service
Annotation for the netty Timer to be shared by all guice-injected ThriftServers
ThriftServerWorkerExecutor - Annotation Type in com.facebook.swift.service
 
ThriftServiceExport(Key<?>) - Constructor for class com.facebook.swift.service.guice.ThriftServiceExporter.ThriftServiceExport
 
ThriftServiceExporter - Class in com.facebook.swift.service.guice
 
ThriftServiceExporter.ThriftServiceExport - Class in com.facebook.swift.service.guice
 
ThriftServiceExporter.ThriftServiceProcessorProvider - Class in com.facebook.swift.service.guice
 
ThriftServiceMetadata - Class in com.facebook.swift.service.metadata
 
ThriftServiceMetadata(Class<?>, ThriftCatalog) - Constructor for class com.facebook.swift.service.metadata.ThriftServiceMetadata
 
ThriftServiceMetadata(String, ThriftMethodMetadata...) - Constructor for class com.facebook.swift.service.metadata.ThriftServiceMetadata
 
ThriftServiceProcessor - Class in com.facebook.swift.service
NiftyProcessor that wraps a Thrift service.
ThriftServiceProcessor(ThriftCodecManager, List<? extends ThriftEventHandler>, Object...) - Constructor for class com.facebook.swift.service.ThriftServiceProcessor
 
ThriftServiceProcessor(ThriftCodecManager, List<? extends ThriftEventHandler>, List<?>) - Constructor for class com.facebook.swift.service.ThriftServiceProcessor
 
ThriftServiceProcessorProvider(Injector, ThriftCodecManager, Set<ThriftEventHandler>, Set<ThriftServiceExporter.ThriftServiceExport>) - Constructor for class com.facebook.swift.service.guice.ThriftServiceExporter.ThriftServiceProcessorProvider
 
ThriftServiceStatsHandler - Class in com.facebook.swift.service
 
ThriftServiceStatsHandler() - Constructor for class com.facebook.swift.service.ThriftServiceStatsHandler
 
toString() - Method in class com.facebook.swift.service.guice.ThriftServiceExporter.ThriftServiceExport
 
transportAttachObserver - Variable in class com.facebook.swift.service.ThriftServer.TransportAttachObserverHolder
 
TransportAttachObserverHolder() - Constructor for class com.facebook.swift.service.ThriftServer.TransportAttachObserverHolder
 
TransportAttachObserverHolder(TransportAttachObserver) - Constructor for class com.facebook.swift.service.ThriftServer.TransportAttachObserverHolder
 

U

undeclaredUserException(Throwable) - Method in class com.facebook.swift.service.ContextChain
 
undeclaredUserException(Object, String, Throwable) - Method in class com.facebook.swift.service.ThriftEventHandler
 

W

withConnectTimeout(Duration) - Method in class com.facebook.swift.service.ThriftClient
 
withReadTimeout(Duration) - Method in class com.facebook.swift.service.ThriftClient
 
withReceiveTimeout(Duration) - Method in class com.facebook.swift.service.ThriftClient
 
withWriteTimeout(Duration) - Method in class com.facebook.swift.service.ThriftClient
 
writeApplicationException(TProtocol, RequestContext, String, int, TApplicationException) - Static method in class com.facebook.swift.service.ThriftServiceProcessor
 
A B C D E G H I N O P R S T U W 
Skip navigation links

Copyright © 2012-2016 Facebook, Inc.. All Rights Reserved.