java.lang.Object
io.helidon.dbclient.common.DbClientServiceBase
io.helidon.dbclient.tracing.DbClientTracing
- All Implemented Interfaces:
DbClientService
Tracing interceptor.
This interceptor is added through Java Service loader.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.helidon.dbclient.common.DbClientServiceBase
DbClientServiceBase.DbClientServiceBuilderBase<B extends DbClientServiceBase.DbClientServiceBuilderBase<B>>
-
Method Summary
Modifier and TypeMethodDescriptionprotected Single<DbClientServiceContext>
apply
(DbClientServiceContext serviceContext) This method is only invoked if the predicate for this service was passed.static DbClientTracing.Builder
builder()
Create a new builder.static DbClientTracing
create()
Create a new interceptor to trace requests.static DbClientTracing
Create a new tracing interceptor based on the configuration.Methods inherited from class io.helidon.dbclient.common.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:DbClientServiceBase
This method is only invoked if the predicate for this service was passed.- Specified by:
apply
in classDbClientServiceBase
- Parameters:
serviceContext
- db client invocation context- Returns:
- single with the new context (or the same one if not modified)
- See Also:
-