Uses of Class
com.suse.salt.netapi.datatypes.Batch
-
Packages that use Batch Package Description com.suse.salt.netapi.calls com.suse.salt.netapi.datatypes -
-
Uses of Batch in com.suse.salt.netapi.calls
Methods in com.suse.salt.netapi.calls with parameters of type Batch Modifier and Type Method Description 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<java.util.Map<java.lang.String,java.util.concurrent.CompletionStage<Result<R>>>>>
LocalCall. callAsync(SaltClient client, Target<?> target, AuthMethod auth, EventStream events, java.util.concurrent.CompletionStage<GenericError> cancel, Batch batch)
Calls this salt call via the async client and returns the results as they come in via the event stream.java.util.concurrent.CompletionStage<java.util.List<java.util.Map<java.lang.String,Result<R>>>>
LocalCall. callSync(SaltClient client, Target<?> target, AuthMethod auth, Batch batch)
Calls a execution module function on the given target with batching and synchronously waits for the result.Method parameters in com.suse.salt.netapi.calls with type arguments of type Batch Modifier and Type Method Description java.util.concurrent.CompletionStage<java.util.Optional<java.util.Map<java.lang.String,java.util.concurrent.CompletionStage<Result<R>>>>>
LocalCall. callAsync(SaltClient client, Target<?> target, AuthMethod auth, EventStream events, java.util.concurrent.CompletionStage<GenericError> cancel, java.util.Optional<Batch> batch)
Calls this salt call via the async client and returns the results as they come in via the event stream.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.java.util.concurrent.CompletionStage<java.util.List<java.util.Map<java.lang.String,Result<R>>>>
LocalCall. callSync(SaltClient client, Target<?> target, AuthMethod auth, java.util.Optional<Batch> batch)
Calls a execution module function on the given target with batching and synchronously waits for the result.private java.util.concurrent.CompletionStage<java.util.List<java.util.Map<java.lang.String,Result<R>>>>
LocalCall. callSyncHelperNonBlock(SaltClient client, Target<?> target, AuthMethod auth, java.util.Optional<Batch> batch)
Helper to call an execution module function on the given target for batched or unbatched while also providing an option to use the given credentials or to use a prior created token. -
Uses of Batch in com.suse.salt.netapi.datatypes
Methods in com.suse.salt.netapi.datatypes that return Batch Modifier and Type Method Description static Batch
Batch. asAmount(int value)
Construct a Batch from a value representing an exact amount of itemsstatic Batch
Batch. asPercent(int value)
Construct a Batch from a value representing a percentBatch
Batch.BatchBuilder. build()
Returns a Batch with the values of this BatchBuilder instance.
-