java.lang.Object
io.helidon.dbclient.DbClientServiceBase
io.helidon.dbclient.tracing.DbClientTracing
- All Implemented Interfaces:
DbClientService
Tracing interceptor.
This interceptor is added through Java Service loader.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class io.helidon.dbclient.DbClientServiceBase
DbClientServiceBase.BuilderBase<B extends DbClientServiceBase.BuilderBase<B,T>, T extends DbClientServiceBase> -
Method Summary
Modifier and TypeMethodDescriptionprotected DbClientServiceContextapply(DbClientServiceContext serviceContext) This method is only invoked if the predicate for this service was passed.static DbClientTracing.Builderbuilder()Create a new builder.static DbClientTracingcreate()Create a new interceptor to trace requests.static DbClientTracingCreate a new tracing interceptor based on the configuration.Methods inherited from class io.helidon.dbclient.DbClientServiceBase
statement
-
Method Details
-
create
Create a new tracing interceptor based on the configuration.- Parameters:
config- configuration node for this interceptor- Returns:
- a new tracing interceptor
-
create
Create a new interceptor to trace requests.- Returns:
- a new tracing interceptor
-
builder
Create a new builder.- Returns:
- a new builder instance
-
apply
Description copied from class:DbClientServiceBaseThis method is only invoked if the predicate for this service was passed.- Specified by:
applyin classDbClientServiceBase- Parameters:
serviceContext- db client invocation context- Returns:
- single with the new context (or the same one if not modified)
- See Also:
-