Package | Description |
---|---|
net.sf.ehcache.constructs.nonstop.concurrency |
Nonstop feature related to concurrent package
|
Modifier and Type | Class and Description |
---|---|
private static class |
ExplicitLockingContextThreadLocal.ExplicitLockingContextImpl
This class doesn't need to be thread safe as there's 1-1 mapping between app thread and nonstop threads.
|
Modifier and Type | Field and Description |
---|---|
private ExplicitLockingContext |
CacheOperationUnderExplicitLockCallable.appThreadLockContext |
private ExplicitLockingContext |
NonstopSync.ExplicitLockingClusterOperationImpl.appThreadLockContext |
Modifier and Type | Field and Description |
---|---|
private VicariousThreadLocal<ExplicitLockingContext> |
ExplicitLockingContextThreadLocal.contextThreadLocal |
Modifier and Type | Method and Description |
---|---|
ExplicitLockingContext |
ExplicitLockingContextThreadLocal.getCurrentThreadLockContext()
Returns the thread local for the current thread
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
NonstopSync.LockOperationType.performOperation(ExplicitLockingContext appThreadLockContext,
NonstopActiveDelegateHolder nonstopActiveDelegateHolder,
java.lang.Object key,
long timeout,
LockType type,
NonstopConfiguration config) |
abstract void |
NonstopSync.LockOperationType.rollback(ExplicitLockingContext appThreadLockContext,
NonstopActiveDelegateHolder nonstopActiveDelegateHolder,
java.lang.Object key,
LockType type,
boolean success) |
Constructor and Description |
---|
CacheOperationUnderExplicitLockCallable(ExplicitLockingContext currentThreadLockContext,
NonstopConfiguration nonstopConfiguration,
java.util.concurrent.Callable<V> callable)
public constructor
|
ExplicitLockingClusterOperationImpl(LockType type,
long timeout,
ExplicitLockingContext appThreadLockContext,
NonstopSync.LockOperationType lockOperationType) |