Package com.openlayer.api.services.async
Interface TestServiceAsync
-
- All Implemented Interfaces:
public interface TestServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceTestServiceAsync.WithRawResponseA view of TestServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract TestServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract TestServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<TestEvaluateResponse>evaluate(String testId, TestEvaluateParams params)Triggers one-off evaluation of a specific monitoring test for a custom timestamp range. CompletableFuture<TestEvaluateResponse>evaluate(String testId, TestEvaluateParams params, RequestOptions requestOptions)CompletableFuture<TestEvaluateResponse>evaluate(TestEvaluateParams params)abstract CompletableFuture<TestEvaluateResponse>evaluate(TestEvaluateParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract TestServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract TestServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
evaluate
CompletableFuture<TestEvaluateResponse> evaluate(String testId, TestEvaluateParams params)
Triggers one-off evaluation of a specific monitoring test for a custom timestamp range. This allows evaluating tests for historical data or custom time periods outside the regular evaluation window schedule. It also allows overwriting the existing test results.
-
evaluate
CompletableFuture<TestEvaluateResponse> evaluate(String testId, TestEvaluateParams params, RequestOptions requestOptions)
-
evaluate
CompletableFuture<TestEvaluateResponse> evaluate(TestEvaluateParams params)
-
evaluate
abstract CompletableFuture<TestEvaluateResponse> evaluate(TestEvaluateParams params, RequestOptions requestOptions)
-
-
-
-