Class CancellationErrorContext

All Implemented Interfaces:
Context

@Uncommitted public class CancellationErrorContext extends ErrorContext
When a cancellation (i.e. timeout) occurs we do only have the information available that is currently with the request, so this context is not service-specific and just dumps what's in there.
  • Constructor Details

    • CancellationErrorContext

      public CancellationErrorContext(RequestContext requestContext)
    • CancellationErrorContext

      public CancellationErrorContext(AbstractContext context)
  • Method Details

    • injectExportableParams

      public void injectExportableParams(Map<String,Object> input)
      Description copied from class: AbstractContext
      This method needs to be implemented by the actual context implementations to inject the params they need for exporting.
      Overrides:
      injectExportableParams in class ErrorContext
      Parameters:
      input - pass exportable params in here.
    • requestContext

      public RequestContext requestContext()
      Returns the underlying request context (if present) for debug reasons.
    • getWaitUntilReadyContext

      public WaitUntilReadyContext getWaitUntilReadyContext()
      Returns information specific to a cancelled "wait until ready" request.
      Returns:
      (nullable) Returns null if no information is available, or if this error context is not associated with a "wait until ready" request.
    • getRangeScanContext

      public RangeScanContext getRangeScanContext()
      Returns information specific to a cancelled "range scan" request.
      Returns:
      (nullable) Returns null if no information is available, or if this error context is not associated with a "range scan" request.