Package com.couchbase.client.core.cnc
Interface Context
- All Known Implementing Classes:
AbstractContext
,AggregateErrorContext
,AnalyticsErrorContext
,CancellationErrorContext
,CoreContext
,EndpointContext
,ErrorContext
,EventingErrorContext
,GenericErrorContext
,GenericHttpRequestErrorContext
,GenericRequestErrorContext
,IoContext
,KeyValueErrorContext
,KeyValueIoErrorContext
,ManagerErrorContext
,NodeContext
,ObserveContext
,ProtostellarContext
,QueryErrorContext
,RangeScanContext
,ReducedAnalyticsErrorContext
,ReducedKeyValueErrorContext
,ReducedQueryErrorContext
,ReducedSearchErrorContext
,ReducedViewErrorContext
,RequestContext
,SearchErrorContext
,ServiceContext
,SubDocumentErrorContext
,ViewErrorContext
,WaitUntilReadyContext
public interface Context
Context represents some state that is passed throughout the system.
There are various stages of context that can extend or embed each other. The important part is that it can be inspected and exported into other formats.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The format into which the context can be exported. -
Method Summary
Modifier and TypeMethodDescriptionExport this context into a generic map.exportAsString
(Context.ExportFormat format) Export this context into the specified format.
-
Method Details
-
exportAsString
Export this context into the specified format.- Parameters:
format
- the format to export into.- Returns:
- the exported format as a string representation.
-
exportAsMap
Export this context into a generic map.- Returns:
- the exported format in a generic map representation.
-