@Stability.Uncommitted public class CancellationErrorContext extends ErrorContext
Context.ExportFormat| Constructor and Description |
|---|
CancellationErrorContext(AbstractContext context) |
CancellationErrorContext(RequestContext requestContext) |
| Modifier and Type | Method and Description |
|---|---|
RangeScanContext |
getRangeScanContext()
Returns information specific to a cancelled "range scan" request.
|
WaitUntilReadyContext |
getWaitUntilReadyContext()
Returns information specific to a cancelled "wait until ready" request.
|
void |
injectExportableParams(Map<String,Object> input)
This method needs to be implemented by the actual context implementations to
inject the params they need for exporting.
|
RequestContext |
requestContext()
Returns the underlying request context (if present) for debug reasons.
|
responseStatusexportAsMap, exportAsString, toStringpublic CancellationErrorContext(RequestContext requestContext)
public CancellationErrorContext(AbstractContext context)
public void injectExportableParams(Map<String,Object> input)
AbstractContextinjectExportableParams in class ErrorContextinput - pass exportable params in here.public RequestContext requestContext()
public WaitUntilReadyContext getWaitUntilReadyContext()
public RangeScanContext getRangeScanContext()
Copyright © 2024 Couchbase, Inc.. All rights reserved.