Interface Rx3MaybeJob<INPUT,OUTPUT>
- All Superinterfaces:
AsyncJob<INPUT,
,OUTPUT> FuturableJob<INPUT,
,OUTPUT, io.reactivex.rxjava3.core.Maybe<OUTPUT>, ExecutionContext<OUTPUT>> Job<INPUT,
OUTPUT>
public interface Rx3MaybeJob<INPUT,OUTPUT>
Job interface for
Maybe
in #reactivex version.- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Maybe<OUTPUT>
doExecute
(@NotNull JobData<INPUT> jobData, ExecutionContext<OUTPUT> executionContext) Async executedefault ExecutionContext<OUTPUT>
transformContext
(ExecutionContext<OUTPUT> executionContext) Transform execution context toRxified
execution contextdefault io.vertx.core.Future<OUTPUT>
transformResult
(io.reactivex.rxjava3.core.Maybe<OUTPUT> result) Transform theRxified
execution result toVert.x
Future
versionMethods inherited from interface io.github.zero88.schedulerx.FuturableJob
asyncExecute
-
Method Details
-
transformResult
default io.vertx.core.Future<OUTPUT> transformResult(io.reactivex.rxjava3.core.Maybe<OUTPUT> result) Description copied from interface:FuturableJob
Transform theRxified
execution result toVert.x
Future
version- Specified by:
transformResult
in interfaceFuturableJob<INPUT,
OUTPUT, io.reactivex.rxjava3.core.Maybe<OUTPUT>, ExecutionContext<OUTPUT>> - Parameters:
result
-Rxified
execution result- Returns:
- the execution result in
Future
-
doExecute
io.reactivex.rxjava3.core.Maybe<OUTPUT> doExecute(@NotNull @NotNull JobData<INPUT> jobData, @NotNull ExecutionContext<OUTPUT> executionContext) Description copied from interface:FuturableJob
Async execute- Specified by:
doExecute
in interfaceFuturableJob<INPUT,
OUTPUT, io.reactivex.rxjava3.core.Maybe<OUTPUT>, ExecutionContext<OUTPUT>> - Parameters:
jobData
- job dataexecutionContext
- job execution context- Returns:
- the
Rxified
execution result
-
transformContext
default ExecutionContext<OUTPUT> transformContext(@NotNull ExecutionContext<OUTPUT> executionContext) Description copied from interface:FuturableJob
Transform execution context toRxified
execution context- Specified by:
transformContext
in interfaceFuturableJob<INPUT,
OUTPUT, T, ExecutionContext<OUTPUT>> - Parameters:
executionContext
- job execution context- Returns:
Rxified
execution context- See Also:
-