A C E G I L N P R S T
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- allTrackers - Variable in class pl.morgwai.base.grpc.scopes.GrpcModule
-
Singleton of
GrpcModule.listenerEventContextTracker
. - allTrackersKey - Static variable in class pl.morgwai.base.grpc.scopes.GrpcModule
-
Key
ofGrpcModule.allTrackers
. - 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 newListenerEventContext
for eachListener
call. - clientInterceptor - Variable in class pl.morgwai.base.grpc.scopes.GrpcModule
-
All
client Channels
must beintercepted
either by thisInterceptor
or byGrpcModule.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 withGrpcModule.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
- 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 thisModule
. - 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 givenChannel
, 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 transferContexts
to workerThreads
usingContextBinder
. - 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
- 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 inServerCallHandler.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
(eitherserver
orclient
) and as a consequence also to the context of the corresponding user inboundStreamObserver
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 beintercepted
either by thisInterceptor
or byGrpcModule.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 newNamingThreadFactory
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 sizequeueSize
, the defaultRejectedExecutionHandler
and a newNamingThreadFactory
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
andListenerEvent
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
S
- ServerContextInterceptor - Class in pl.morgwai.base.grpc.scopes
-
Creates a new
ServerRpcContext
for each new RPC (ServerCall
) and a newListenerEventContext
for eachListener
call and creation. - serverInterceptor - Variable in class pl.morgwai.base.grpc.scopes.GrpcModule
- 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
All Classes All Packages