INPUT
- type of the input of the executionpublic abstract class RedVoidSynchronizer<INPUT> extends BaseRedSynchronizer
RedFuture
to indicate the completion of an execution.BaseRedSynchronizer.Command, BaseRedSynchronizer.Function, BaseRedSynchronizer.FutureTransformer<RETURN_CLASSIFIER extends BaseRedSynchronizer.ReturnClassifier>, BaseRedSynchronizer.Marker, BaseRedSynchronizer.PendingMarker, BaseRedSynchronizer.Result<T>, BaseRedSynchronizer.Results, BaseRedSynchronizer.ReturnClassifier<COMMAND extends BaseRedSynchronizer.Command,TRANSFORMER extends BaseRedSynchronizer.FutureTransformer.Locked>, BaseRedSynchronizer.Runner<FUNCTION extends BaseRedSynchronizer.Function,WRAPPER,R>
Constructor and Description |
---|
RedVoidSynchronizer() |
Modifier and Type | Method and Description |
---|---|
RedFuture |
execute(INPUT input)
Receive an input and executes it, returns a
RedFuture
of the execution completion. |
protected abstract BaseRedSynchronizer.Marker |
handle(INPUT input)
Implements the execution flow of the Synchronizer
|
public RedFuture execute(INPUT input)
RedFuture
of the execution completion.input
- input to executeRedFuture
of the execution outputprotected abstract BaseRedSynchronizer.Marker handle(INPUT input) throws Throwable
input
- input to handleThrowable
- to enable throwable catchingCopyright © 2017. All rights reserved.