Package | Description |
---|---|
com.suse.salt.netapi.calls | |
com.suse.salt.netapi.calls.runner |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletionStage<java.util.Optional<LocalAsyncResult<R>>> |
LocalCall.callAsync(SaltClient client,
Target<?> target,
AuthMethod auth)
Calls a execution module function on the given target asynchronously and
returns information about the scheduled job that can be used to query the result.
|
java.util.concurrent.CompletionStage<java.util.Optional<LocalAsyncResult<R>>> |
LocalCall.callAsync(SaltClient client,
Target<?> target,
AuthMethod auth,
Batch batch)
Calls a execution module function on the given target asynchronously and
returns information about the scheduled job that can be used to query the result.
|
java.util.concurrent.CompletionStage<java.util.Optional<LocalAsyncResult<R>>> |
LocalCall.callAsync(SaltClient client,
Target<?> target,
AuthMethod auth,
java.util.Optional<Batch> batch)
Calls a execution module function on the given target asynchronously and
returns information about the scheduled job that can be used to query the result.
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletionStage<java.util.Optional<java.util.Map<java.lang.String,java.util.concurrent.CompletionStage<Result<R>>>>> |
LocalCall.callAsync(java.util.function.Function<LocalCall<R>,java.util.concurrent.CompletionStage<java.util.Optional<LocalAsyncResult<R>>>> localAsync,
java.util.function.Function<RunnerCall<java.util.Map<java.lang.String,R>>,java.util.concurrent.CompletionStage<RunnerAsyncResult<java.util.Map<java.lang.String,R>>>> runnerAsync,
EventStream events,
java.util.concurrent.CompletionStage<GenericError> cancel)
Calls this salt call via the async client and returns the results
as they come in via the event stream.
|
Modifier and Type | Method and Description |
---|---|
static <R> RunnerCall<java.util.Map<java.lang.String,R>> |
Jobs.lookupJid(LocalAsyncResult<R> jid) |