Class RestTaskClientOkHttp
java.lang.Object
org.infinispan.client.rest.impl.okhttp.RestTaskClientOkHttp
- All Implemented Interfaces:
RestTaskClient
- Since:
- 10.1
- Author:
- Tristan Tarrant <tristan@infinispan.org>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.infinispan.client.rest.RestTaskClient
RestTaskClient.ResultType -
Method Summary
Modifier and TypeMethodDescriptiondownloadScript(String taskName) Downloads a scriptExecutes a task with the supplied parameters.list(RestTaskClient.ResultType resultType) Retrieves a list of tasks from the serveruploadScript(String taskName, RestEntity script) Uploads a scriptMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.client.rest.RestTaskClient
exec, exec
-
Method Details
-
list
Description copied from interface:RestTaskClientRetrieves a list of tasks from the server- Specified by:
listin interfaceRestTaskClient- Parameters:
resultType- the type of task to return
-
exec
public CompletionStage<RestResponse> exec(String taskName, String cacheName, Map<String, ?> parameters) Description copied from interface:RestTaskClientExecutes a task with the supplied parameters. Currently only supports String values- Specified by:
execin interfaceRestTaskClient
-
uploadScript
Description copied from interface:RestTaskClientUploads a script- Specified by:
uploadScriptin interfaceRestTaskClient
-
downloadScript
Description copied from interface:RestTaskClientDownloads a script- Specified by:
downloadScriptin interfaceRestTaskClient
-