Class IgniteTxLocalAdapter.PostLockClosure2<T>
- java.lang.Object
-
- org.apache.ignite.internal.processors.cache.transactions.IgniteTxLocalAdapter.PostLockClosure2<T>
-
- Type Parameters:
T- Return type.
- All Implemented Interfaces:
Serializable,IgniteBiClosure<Boolean,Exception,IgniteInternalFuture<T>>
- Direct Known Subclasses:
IgniteTxLocalAdapter.PLC2
- Enclosing class:
- IgniteTxLocalAdapter
protected abstract class IgniteTxLocalAdapter.PostLockClosure2<T> extends Object implements IgniteBiClosure<Boolean,Exception,IgniteInternalFuture<T>>
Post-lock closure.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPostLockClosure2()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description IgniteInternalFuture<T>apply(Boolean locked, @Nullable Exception e)Closure body.protected abstract IgniteInternalFuture<T>postLock()Post lock callback.
-
-
-
Method Detail
-
apply
public final IgniteInternalFuture<T> apply(Boolean locked, @Nullable @Nullable Exception e)
Closure body.- Specified by:
applyin interfaceIgniteBiClosure<Boolean,Exception,IgniteInternalFuture<T>>- Parameters:
locked- First parameter.e- Second parameter.- Returns:
- Closure return value.
-
postLock
protected abstract IgniteInternalFuture<T> postLock() throws IgniteCheckedException
Post lock callback.- Returns:
- Future return value.
- Throws:
IgniteCheckedException- If operation failed.
-
-