public class NonstopCacheLockProvider extends Object implements CacheLockProvider
CacheLockProvider
with nonstop featureConstructor and Description |
---|
NonstopCacheLockProvider(NonstopStore nonstopStore,
NonstopActiveDelegateHolder nonstopActiveDelegateHolder,
ExplicitLockingContextThreadLocal explicitLockingContextThreadLocal,
NonstopConfiguration nonstopConfiguration)
Public constructor
|
Modifier and Type | Method and Description |
---|---|
Sync |
getSyncForKey(Object key)
Gets the Sync Stripe to use for a given key.
|
public NonstopCacheLockProvider(NonstopStore nonstopStore, NonstopActiveDelegateHolder nonstopActiveDelegateHolder, ExplicitLockingContextThreadLocal explicitLockingContextThreadLocal, NonstopConfiguration nonstopConfiguration)
nonstopStore
- nonstopActiveDelegateHolder
- explicitLockingContextThreadLocal
- public Sync getSyncForKey(Object key)
getSyncForKey
in interface CacheLockProvider
key
- the keyCopyright © 2003–2018 Terracotta, Inc.. All rights reserved.