Interface ContextMissingStrategy

    • Field Detail

      • CONTEXT_MISSING_STRATEGY_ENVIRONMENT_VARIABLE_OVERRIDE_KEY

        static final java.lang.String CONTEXT_MISSING_STRATEGY_ENVIRONMENT_VARIABLE_OVERRIDE_KEY
        Environment variable key used to override the default ContextMissingStrategy used in new instances of AWSXRayRecorder. Valid values for this environment variable are (case-insensitive) RUNTIME_ERROR, LOG_ERROR and IGNORE_ERROR. Invalid values will be ignored. Takes precedence over any system property or builder value used for the DefaultContextMissingStrategy.
        See Also:
        Constant Field Values
      • CONTEXT_MISSING_STRATEGY_SYSTEM_PROPERTY_OVERRIDE_KEY

        static final java.lang.String CONTEXT_MISSING_STRATEGY_SYSTEM_PROPERTY_OVERRIDE_KEY
        System property key used to override the default ContextMissingStrategy used in new instances of AWSXRayRecorder. Valid values for this system property are (case-insensitive) RUNTIME_ERROR, LOG_ERROR and IGNORE_ERROR. Invalid values will be ignored. Takes precedence over any builder value used for the DefaultContextMissingStrategy.
        See Also:
        Constant Field Values
    • Method Detail

      • contextMissing

        void contextMissing​(java.lang.String message,
                            java.lang.Class<? extends java.lang.RuntimeException> exceptionClass)