public class NonstopCacheLockProvider extends java.lang.Object implements CacheLockProvider
CacheLockProvider
with nonstop featureModifier and Type | Field and Description |
---|---|
private ExplicitLockingContextThreadLocal |
explicitLockingContextThreadLocal |
private NonstopActiveDelegateHolder |
nonstopActiveDelegateHolder |
private NonstopConfiguration |
nonstopConfiguration |
private NonstopStore |
nonstopStore |
Constructor and Description |
---|
NonstopCacheLockProvider(NonstopStore nonstopStore,
NonstopActiveDelegateHolder nonstopActiveDelegateHolder,
ExplicitLockingContextThreadLocal explicitLockingContextThreadLocal,
NonstopConfiguration nonstopConfiguration)
Public constructor
|
Modifier and Type | Method and Description |
---|---|
Sync |
getSyncForKey(java.lang.Object key)
Gets the Sync Stripe to use for a given key.
|
private final NonstopStore nonstopStore
private final NonstopActiveDelegateHolder nonstopActiveDelegateHolder
private final ExplicitLockingContextThreadLocal explicitLockingContextThreadLocal
private final NonstopConfiguration nonstopConfiguration
public NonstopCacheLockProvider(NonstopStore nonstopStore, NonstopActiveDelegateHolder nonstopActiveDelegateHolder, ExplicitLockingContextThreadLocal explicitLockingContextThreadLocal, NonstopConfiguration nonstopConfiguration)
nonstopStore
- nonstopActiveDelegateHolder
- explicitLockingContextThreadLocal
- public Sync getSyncForKey(java.lang.Object key)
getSyncForKey
in interface CacheLockProvider
key
- the key