T - Return type.protected abstract class IgniteTxLocalAdapter.PostLockClosure1<T> extends Object implements IgniteBiClosure<Boolean,Exception,IgniteInternalFuture<T>>
| Modifier | Constructor and Description |
|---|---|
protected |
PostLockClosure1(T arg)
Creates a Post-Lock closure that will pass the argument given to the
postLock method. |
protected |
PostLockClosure1(T arg,
boolean commit)
Creates a Post-Lock closure that will pass the argument given to the
postLock method. |
| Modifier and Type | Method and Description |
|---|---|
IgniteInternalFuture<T> |
apply(Boolean locked,
@Nullable Exception e)
Closure body.
|
protected abstract T |
postLock(T val)
Post lock callback.
|
protected PostLockClosure1(T arg)
postLock method.arg - Argument for postLock.protected PostLockClosure1(T arg, boolean commit)
postLock method.arg - Argument for postLock.commit - Flag indicating whether commit should be done after postLock.public final IgniteInternalFuture<T> apply(Boolean locked, @Nullable @Nullable Exception e)
apply in interface IgniteBiClosure<Boolean,Exception,IgniteInternalFuture<T>>locked - First parameter.e - Second parameter.protected abstract T postLock(T val) throws IgniteCheckedException
val - Argument.IgniteCheckedException - If operation failed.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021