Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addTracelet(Trace.Tracelet) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.TraceProxy
- addType(String) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.TraceProxy
B
- beginChild(String, String) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.GrpcFacade
-
Signal that we are in the scope of a newly created child
Trace. - beginWritingData(String, String) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.GrpcFacade
-
Signal that we start writing a data stream of given type.
C
- check(HealthOuterClass.HealthCheckRequest, StreamObserver<HealthOuterClass.HealthCheckResponse>) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.HealthService
-
Puts the status SERVING on the response.
- close() - Method in class org.hansken.plugin.extraction.runtime.grpc.server.ExtractionPluginServer
-
Stop serving requests and shutdown resources.
- close() - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.ExtractionContextProxy
- close() - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.RandomAccessDataProxy
- close() - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.TraceProxy
D
- data() - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.ExtractionContextProxy
- dataType() - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.ExtractionContextProxy
- DEFAULT_NUM_WORKERS - Static variable in class org.hansken.plugin.extraction.runtime.grpc.server.ExtractionPluginServer
-
Number of simultaneous workers.
E
- enrichTrace(String, Set<String>, Map<String, Object>, List<Trace.Tracelet>, Map<String, List<DataTransformation>>) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.GrpcFacade
-
Add types and properties to the currently processed trace.
- ExtractionContextProxy - Class in org.hansken.plugin.extraction.runtime.grpc.server.proxy
-
Proxy implementation for the server side of the
extraction pluginframework. - ExtractionPluginServer - Class in org.hansken.plugin.extraction.runtime.grpc.server
-
gRPC Server for Extraction Plugins.
- ExtractionPluginServerMain - Class in org.hansken.plugin.extraction.runtime.grpc.server
-
Code to provide main() functionality to run an Extraction Plugin as standalone server.
- ExtractionPluginServerService - Class in org.hansken.plugin.extraction.runtime.grpc.server
-
Implements the actual gRPC service definition.
- ExtractionPluginServerService(Supplier<BaseExtractionPlugin>, int) - Constructor for class org.hansken.plugin.extraction.runtime.grpc.server.ExtractionPluginServerService
F
- finishChild(String) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.GrpcFacade
-
Signal that we exited the last created child
Tracescope. - finishProcessing(double) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.GrpcFacade
-
Send a
finishmessage to the client, containing a set of actions to execute. - finishWritingData(String, String) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.GrpcFacade
-
Signal that we finished writing to the data stream of given type.
- fromRpc(RpcDataContext, String, GrpcFacade) - Static method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.ExtractionContextProxy
-
Create a new
context proxyfor the context described by the givenRpcDataContext, using the givenGrpcFacadeto delegate calls to. - fromRpc(RpcRandomAccessDataMeta, String, GrpcFacade) - Static method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.RandomAccessDataProxy
-
Create a new
data proxyfor the data described by the givenRpcRandomAccessDataMeta, using the givenGrpcFacadeto delegate calls to. - fromRpc(RpcSearchTrace, GrpcFacade) - Static method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.SearchTraceProxy
- fromRpc(RpcTrace, GrpcFacade) - Static method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.TraceProxy
-
Create a new
trace proxyfor thetracecurrently being processed, which is described by givenRpcTrace.
G
- get(String) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.ImmutableTraceProxy
- get(String) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.TraceProxy
- getConfiguration(LoggerContext, String, URI) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.logging.XmlConfigurationFactory
-
Returns the Configuration.
- getConfiguration(LoggerContext, ConfigurationSource) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.logging.XmlConfigurationFactory
-
Returns the Configuration.
- getData(String) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.SearchTraceProxy
- getDataTypes() - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.SearchTraceProxy
- getListeningPort() - Method in class org.hansken.plugin.extraction.runtime.grpc.server.ExtractionPluginServer
-
Returns the local port the rpc-server is listening on.
- getNewTracelets() - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.TraceProxy
- getSupportedTypes() - Method in class org.hansken.plugin.extraction.runtime.grpc.server.logging.XmlConfigurationFactory
- GrpcFacade - Class in org.hansken.plugin.extraction.runtime.grpc.server.proxy
-
Facade through which the server can take and receive calls over RPC.
- GrpcFacade(BlockingQueue<Any>, StreamObserver<Any>, int) - Constructor for class org.hansken.plugin.extraction.runtime.grpc.server.proxy.GrpcFacade
-
Create a new
RPC facade, which will send the request on the givenStreamObserver, and if necessary, wait for reply on givenBlockingQueue.
H
- handleResponse(Any) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.GrpcFacade
-
Receive a response for a request and handle it.
- HealthService - Class in org.hansken.plugin.extraction.runtime.grpc.server
-
gRPC service that implements the gRPC Health Checking Protocol: https://github.com/grpc/grpc/blob/master/doc/health-checking.md This is used to perform a readiness check for the Extraction Plugin pod in Kubernetes.
- HealthService() - Constructor for class org.hansken.plugin.extraction.runtime.grpc.server.HealthService
I
- ImmutableTraceProxy - Class in org.hansken.plugin.extraction.runtime.grpc.server.proxy
-
Proxy implementation for the server side of the
extraction pluginframework.
N
- newChild(String, ThrowingConsumer<Trace, IOException>) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.TraceProxy
O
- onCompleted() - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.GrpcFacade
-
Signal completion of the stream to the outgoing observer, see
StreamObserver.onCompleted(). - onError(Status.Code, Throwable) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.GrpcFacade
-
Signal completion of the stream due to an error.
- org.hansken.plugin.extraction.runtime.grpc.server - package org.hansken.plugin.extraction.runtime.grpc.server
- org.hansken.plugin.extraction.runtime.grpc.server.logging - package org.hansken.plugin.extraction.runtime.grpc.server.logging
- org.hansken.plugin.extraction.runtime.grpc.server.proxy - package org.hansken.plugin.extraction.runtime.grpc.server.proxy
P
- pluginInfo(Empty, StreamObserver<RpcPluginInfo>) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.ExtractionPluginServerService
- position() - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.RandomAccessDataProxy
- process(StreamObserver<Any>) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.ExtractionPluginServerService
- processPartialResultOrError(Throwable, double) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.GrpcFacade
-
This method sends an
RpcPartialFinishWithErrormessage to the client in case an error occurs, containing a partial(or empty) set of actions that have been cached so far, and a description of the error. - properties() - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.ImmutableTraceProxy
- properties() - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.TraceProxy
R
- RandomAccessDataProxy - Class in org.hansken.plugin.extraction.runtime.grpc.server.proxy
-
Proxy implementation for the server side of the
extraction pluginframework. - read(byte[], int, int) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.RandomAccessDataProxy
- readFromTraceData(long, int, String, String) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.GrpcFacade
-
Read from the data sequence currently processed by the trace, see
DataContext.data(). - runMain(Supplier<BaseExtractionPlugin>, String[]) - Static method in class org.hansken.plugin.extraction.runtime.grpc.server.ExtractionPluginServerMain
-
Utility to help starting your Extraction Plugin as a server.
S
- search(String, int) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.TraceSearcherProxy
- search(String, int, SearchOptions) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.TraceSearcherProxy
- search(String, int, SearchScope, int, List<SearchSortOption>) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.TraceSearcherProxy
- SearchTraceProxy - Class in org.hansken.plugin.extraction.runtime.grpc.server.proxy
-
Proxy implementation for the server side of the
extraction pluginframework. - searchTraces(String) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.GrpcFacade
-
Asks the client to perform a search request in Hansken to retrieve traces.
- searchTraces(String, int) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.GrpcFacade
-
Asks the client to perform a search request in Hansken to retrieve traces.
- searchTraces(String, int, SearchOptions) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.GrpcFacade
-
Asks the client to perform a search request in Hansken to retrieve traces.
- searchTraces(String, int, SearchScope, int, List<SearchSortOption>) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.GrpcFacade
-
Asks the client to perform a search request in Hansken to retrieve traces.
- searchTraces(String, SearchOptions) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.GrpcFacade
-
Asks the client to perform a search request in Hansken to retrieve traces.
- seek(long) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.RandomAccessDataProxy
- serve(int, int, BindableService) - Static method in class org.hansken.plugin.extraction.runtime.grpc.server.ExtractionPluginServer
-
Start a server with a custom service implementation.
- serve(int, int, Supplier<BaseExtractionPlugin>) - Static method in class org.hansken.plugin.extraction.runtime.grpc.server.ExtractionPluginServer
-
Starts a Extraction Plugin server, and returns the server instance.
- serve(int, BindableService) - Static method in class org.hansken.plugin.extraction.runtime.grpc.server.ExtractionPluginServer
-
Deprecated.
- serve(int, Supplier<BaseExtractionPlugin>) - Static method in class org.hansken.plugin.extraction.runtime.grpc.server.ExtractionPluginServer
-
Deprecated.
- serve(ExtractionPluginServer) - Static method in class org.hansken.plugin.extraction.runtime.grpc.server.ExtractionPluginServer
- set(String, Object) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.TraceProxy
- setData(String, List<DataTransformation>) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.TraceProxy
- setData(String, DataWriter) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.TraceProxy
- size() - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.RandomAccessDataProxy
T
- traceId() - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.ImmutableTraceProxy
- TraceProxy - Class in org.hansken.plugin.extraction.runtime.grpc.server.proxy
-
Proxy implementation for the server side of the
extraction pluginframework. - TraceSearcherProxy - Class in org.hansken.plugin.extraction.runtime.grpc.server.proxy
-
Proxy implementation for the server side of the
extraction pluginframework. - TraceSearcherProxy(GrpcFacade) - Constructor for class org.hansken.plugin.extraction.runtime.grpc.server.proxy.TraceSearcherProxy
- types() - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.ImmutableTraceProxy
- types() - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.TraceProxy
W
- watch(HealthOuterClass.HealthCheckRequest, StreamObserver<HealthOuterClass.HealthCheckResponse>) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.HealthService
-
A client can call the Watch method to perform a streaming health-check.
- writeData(String, String, byte[], int, int) - Method in class org.hansken.plugin.extraction.runtime.grpc.server.proxy.GrpcFacade
-
Send a data chunk of the current data stream to the client.
X
- XmlConfigurationFactory - Class in org.hansken.plugin.extraction.runtime.grpc.server.logging
-
Creates a XmlConfiguration from a xml file.
- XmlConfigurationFactory() - Constructor for class org.hansken.plugin.extraction.runtime.grpc.server.logging.XmlConfigurationFactory
All Classes and Interfaces|All Packages|Constant Field Values
ExtractionPluginServer.serve(int, int, io.grpc.BindableService)instead