A C E G I L N P R S T 
All Classes All Packages

A

allTrackers - Variable in class pl.morgwai.base.grpc.scopes.GrpcModule
allTrackersKey - Static variable in class pl.morgwai.base.grpc.scopes.GrpcModule
awaitTerminationOfAllExecutors() - Method in class pl.morgwai.base.grpc.scopes.GrpcModule
Awaits for termination of all executors obtained from this module.
awaitTerminationOfAllExecutors(long, TimeUnit) - Method in class pl.morgwai.base.grpc.scopes.GrpcModule
Awaits for termination of all executors obtained from this module.

C

ClientContextInterceptor - Class in pl.morgwai.base.grpc.scopes
Creates a new ClientRpcContext for each new RPC (ClientCall) and a new ListenerEventContext for each Listener call.
clientInterceptor - Variable in class pl.morgwai.base.grpc.scopes.GrpcModule
All client Channels must be intercepted either by this Interceptor or by GrpcModule.nestingClientInterceptor.
ClientRpcContext - Class in pl.morgwai.base.grpc.scopes
Context of a client RPC (ClientCall).
configure(Binder) - Method in class pl.morgwai.base.grpc.scopes.GrpcModule
Creates infrastructure bindings.
contextBinder - Variable in class pl.morgwai.base.grpc.scopes.GrpcModule
ContextBinder created with GrpcModule.allTrackers.

E

enforceTerminationOfAllExecutors(long, TimeUnit) - Method in class pl.morgwai.base.grpc.scopes.GrpcModule
Enforces termination of all executors obtained from this module.
execute(StreamObserver<?>, Runnable) - Method in class pl.morgwai.base.grpc.scopes.GrpcContextTrackingExecutor
Calls execute(task) and if it's rejected, sends Status.UNAVAILABLE to outboundObserver.
execute(Runnable) - Method in class pl.morgwai.base.grpc.scopes.GrpcContextTrackingExecutor
 

G

getActiveContexts() - Method in class pl.morgwai.base.grpc.scopes.GrpcModule
getExecutors() - Method in class pl.morgwai.base.grpc.scopes.GrpcModule
List of all Executors created by this Module.
getName() - Method in class pl.morgwai.base.grpc.scopes.GrpcContextTrackingExecutor
 
getParentContext() - Method in class pl.morgwai.base.grpc.scopes.ClientRpcContext
If this RPC was issued as a nested child in the context of another RPC and GrpcModule.nestingClientInterceptor was used to intercept the given Channel, then this method will return the context of the parent RPC.
getRequestHeaders() - Method in class pl.morgwai.base.grpc.scopes.RpcContext
 
getResponseHeaders() - Method in class pl.morgwai.base.grpc.scopes.ClientRpcContext
 
getRpc() - Method in class pl.morgwai.base.grpc.scopes.ClientRpcContext
 
getRpc() - Method in class pl.morgwai.base.grpc.scopes.ServerRpcContext
 
getRpcContext() - Method in class pl.morgwai.base.grpc.scopes.ListenerEventContext
 
getStatus() - Method in class pl.morgwai.base.grpc.scopes.ClientRpcContext
Final status sent by the server upon the RPC completion.
getTrailers() - Method in class pl.morgwai.base.grpc.scopes.ClientRpcContext
Trailing metadata sent by the server upon the RPC completion.
GrpcContextTrackingExecutor - Class in pl.morgwai.base.grpc.scopes
TaskTrackingThreadPoolExecutor that automatically transfer Contexts to worker Threads using ContextBinder.
GrpcContextTrackingExecutor(String, ContextBinder, int) - Constructor for class pl.morgwai.base.grpc.scopes.GrpcContextTrackingExecutor
GrpcContextTrackingExecutor(String, ContextBinder, int, int) - Constructor for class pl.morgwai.base.grpc.scopes.GrpcContextTrackingExecutor
GrpcContextTrackingExecutor(String, ContextBinder, int, int, long, TimeUnit, BlockingQueue<Runnable>, ThreadFactory) - Constructor for class pl.morgwai.base.grpc.scopes.GrpcContextTrackingExecutor
GrpcContextTrackingExecutor(String, ContextBinder, int, int, long, TimeUnit, BlockingQueue<Runnable>, ThreadFactory, RejectedExecutionHandler) - Constructor for class pl.morgwai.base.grpc.scopes.GrpcContextTrackingExecutor
GrpcModule - Class in pl.morgwai.base.grpc.scopes
gRPC Guice Scopes, ContextTrackers, Interceptors and some helper methods.
GrpcModule() - Constructor for class pl.morgwai.base.grpc.scopes.GrpcModule
 

I

interceptCall(MethodDescriptor<RequestT, ResponseT>, CallOptions, Channel) - Method in class pl.morgwai.base.grpc.scopes.ClientContextInterceptor
 
interceptCall(ServerCall<RequestT, ResponseT>, Metadata, ServerCallHandler<RequestT, ResponseT>) - Method in class pl.morgwai.base.grpc.scopes.ServerContextInterceptor
 

L

ListenerEventContext - Class in pl.morgwai.base.grpc.scopes
Context of a single call to one of the methods of ClientCall.Listener, ServerCall.Listener and a server listener creation in ServerCallHandler.startCall(...).
listenerEventContextTracker - Variable in class pl.morgwai.base.grpc.scopes.GrpcModule
Allows tracking of Contexts of a Listener events.
listenerEventContextTrackerKey - Static variable in class pl.morgwai.base.grpc.scopes.GrpcModule
listenerEventScope - Variable in class pl.morgwai.base.grpc.scopes.GrpcModule
Scopes objects to the Context of a Listener event (either server or client) and as a consequence also to the context of the corresponding user inbound StreamObserver call.

N

name - Variable in class pl.morgwai.base.grpc.scopes.GrpcContextTrackingExecutor
 
nestingClientInterceptor - Variable in class pl.morgwai.base.grpc.scopes.GrpcModule
All client Channels must be intercepted either by this Interceptor or by GrpcModule.clientInterceptor.
newContextTrackingExecutor(String, int) - Method in class pl.morgwai.base.grpc.scopes.GrpcModule
Constructs a fixed size, context tracking executor that uses an unbound LinkedBlockingQueue and a new NamingThreadFactory named after this executor.
newContextTrackingExecutor(String, int, int) - Method in class pl.morgwai.base.grpc.scopes.GrpcModule
Constructs a fixed size, context tracking executor that uses a LinkedBlockingQueue of size queueSize, the default RejectedExecutionHandler and a new NamingThreadFactory named after this executor.
newContextTrackingExecutor(String, int, int, long, TimeUnit, BlockingQueue<Runnable>, ThreadFactory) - Method in class pl.morgwai.base.grpc.scopes.GrpcModule
Constructs a context tracking executor.
newContextTrackingExecutor(String, int, int, long, TimeUnit, BlockingQueue<Runnable>, ThreadFactory, RejectedExecutionHandler) - Method in class pl.morgwai.base.grpc.scopes.GrpcModule
Constructs a context tracking executor.

P

pl.morgwai.base.grpc.scopes - package pl.morgwai.base.grpc.scopes
RPC and ListenerEvent Guice Scopes for gRPC server, that are automatically transferred when dispatching work to other threads.
produceIfAbsent(Key<T>, Provider<T>) - Method in class pl.morgwai.base.grpc.scopes.ClientRpcContext
 

R

removeScopedObject(Key<?>) - Method in class pl.morgwai.base.grpc.scopes.ClientRpcContext
 
requestHeaders - Variable in class pl.morgwai.base.grpc.scopes.RpcContext
 
rpc - Variable in class pl.morgwai.base.grpc.scopes.ClientRpcContext
 
rpc - Variable in class pl.morgwai.base.grpc.scopes.ServerRpcContext
 
rpcContext - Variable in class pl.morgwai.base.grpc.scopes.ListenerEventContext
 
RpcContext - Class in pl.morgwai.base.grpc.scopes
Context of either a client or a server RPC.
rpcScope - Variable in class pl.morgwai.base.grpc.scopes.GrpcModule
Scopes objects to the Context of an RPC (either ServerRpcContext or ClientRpcContext).

S

ServerContextInterceptor - Class in pl.morgwai.base.grpc.scopes
Creates a new ServerRpcContext for each new RPC (ServerCall) and a new ListenerEventContext for each Listener call and creation.
serverInterceptor - Variable in class pl.morgwai.base.grpc.scopes.GrpcModule
All gRPC Services must be intercepted by this Interceptor.
ServerRpcContext - Class in pl.morgwai.base.grpc.scopes
Context of a server RPC (ServerCall).
shutdownAllExecutors() - Method in class pl.morgwai.base.grpc.scopes.GrpcModule
Shutdowns all executors obtained from this module.

T

toAwaitableOfEnforcedTerminationOfAllExecutors() - Method in class pl.morgwai.base.grpc.scopes.GrpcModule
toAwaitableOfTerminationOfAllExecutors() - Method in class pl.morgwai.base.grpc.scopes.GrpcModule
toString() - Method in class pl.morgwai.base.grpc.scopes.GrpcContextTrackingExecutor
 
A C E G I L N P R S T 
All Classes All Packages