Package com.couchbase.client.core.cnc
Interface Context
-
- All Known Implementing Classes:
AbstractContext
,AggregateErrorContext
,AnalyticsErrorContext
,CancellationErrorContext
,CoreContext
,EndpointContext
,ErrorContext
,GenericRequestErrorContext
,IoContext
,KeyValueErrorContext
,KeyValueIoErrorContext
,NodeContext
,ObserveContext
,QueryErrorContext
,ReducedAnalyticsErrorContext
,ReducedKeyValueErrorContext
,ReducedQueryErrorContext
,ReducedSearchErrorContext
,ReducedViewErrorContext
,RequestContext
,SearchErrorContext
,ServiceContext
,SubDocumentErrorContext
,ViewErrorContext
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
Nested Classes Modifier and Type Interface Description static interface
Context.ExportFormat
The format into which the context can be exported.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
exportAsString(Context.ExportFormat format)
Export this context into the specified format.
-
-
-
Method Detail
-
exportAsString
String exportAsString(Context.ExportFormat format)
Export this context into the specified format.- Parameters:
format
- the format to export into.- Returns:
- the exported format as a string representation.
-
-