Package org.infinispan.client.rest
Interface RestTaskClient
- All Known Implementing Classes:
RestTaskClientOkHttp
public interface RestTaskClient
- Since:
- 10.1
- Author:
- Tristan Tarrant <tristan@infinispan.org>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumTask type filter definition. -
Method Summary
Modifier and TypeMethodDescriptiondownloadScript(String taskName) Downloads a scriptdefault CompletionStage<RestResponse> Executes a task without parametersExecutes a task with the supplied parameters.default CompletionStage<RestResponse> list(RestTaskClient.ResultType resultType) Retrieves a list of tasks from the serveruploadScript(String taskName, RestEntity script) Uploads a script
-
Method Details
-
list
Retrieves a list of tasks from the server- Parameters:
resultType- the type of task to return
-
exec
Executes a task with the supplied parameters. Currently only supports String values -
uploadScript
Uploads a script -
downloadScript
Downloads a script -
exec
Executes a task without parameters -
exec
-