protected static class BaseRedSynchronizer.PendingMarker extends Object
BaseRedSynchronizer.Marker
pending the execution completion,
and can be invoked to mark either success or failure completionsModifier and Type | Method and Description |
---|---|
void |
complete()
Marks the execution as successfully completed
|
void |
fail(Throwable t)
Marks the execution as failed with given cause
|
public void complete()
public void fail(Throwable t)
t
- cause of failureCopyright © 2017. All rights reserved.