Package | Description |
---|---|
com.suse.salt.netapi.calls | |
com.suse.salt.netapi.event |
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.
|
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.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.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractEventStream
Implements basic listener bookkeeping for EventStream.
|
class |
WebSocketEventStream
Event stream implementation based on a
ClientEndpoint WebSocket. |