Class PluginRunProfile
java.lang.Object
org.hansken.plugin.extraction.runtime.grpc.client.PluginRunProfile
A plugin profile report from the plugin perspective.
Contains key/values for integers and doubles. Can be used by the plugin to report any kind of profile statistics, such as: number of searchers, time it took for these searchers, number of bytes read, process()-duration, etc.
-
Method Summary
Modifier and TypeMethodDescriptionReturns all Double floating points reported in the run profile.Returns all Long integers reported in the run profile.static PluginRunProfileof(RpcProfile profile) Constructs aPluginRunProfilefrom aRpcProfile.
-
Method Details
-
of
Constructs aPluginRunProfilefrom aRpcProfile.- Parameters:
profile- the original RpcProfile to convert- Returns:
- the
PluginRunProfilerepresentation of the input profile
-
getIntegers
Returns all Long integers reported in the run profile.- Returns:
- all long integers in the run profile
-
getDoubles
Returns all Double floating points reported in the run profile.- Returns:
- all long integers in the run profile
-