public class KeyValueOptimisticLockingDBWithPluggableCache<STOREKEY,STOREVALUE,STOREVALUECONTAINER extends KeyValueOptimisticLockingDBWithPluggableCache.ValueContainer<STOREVALUE>> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
KeyValueOptimisticLockingDBWithPluggableCache.AlreadyExistsException |
static interface |
KeyValueOptimisticLockingDBWithPluggableCache.Cache<STOREKEY,STOREVALUE,STOREVALUECONTAINER extends KeyValueOptimisticLockingDBWithPluggableCache.ValueContainer<STOREVALUE>> |
static class |
KeyValueOptimisticLockingDBWithPluggableCache.DoesNotAlreadyExistException |
static interface |
KeyValueOptimisticLockingDBWithPluggableCache.StoreRequest<VALUE,VALUECONTAINER extends KeyValueOptimisticLockingDBWithPluggableCache.ValueContainer<VALUE>> |
static interface |
KeyValueOptimisticLockingDBWithPluggableCache.ValueContainer<VALUE> |
static class |
KeyValueOptimisticLockingDBWithPluggableCache.VersionConflictException |
| Modifier and Type | Field and Description |
|---|---|
protected KeyValueOptimisticLockingDBWithPluggableCache.Cache<STOREKEY,STOREVALUE,STOREVALUECONTAINER> |
cache |
protected ConcurrentMap<STOREKEY,STOREVALUECONTAINER> |
store |
| Constructor and Description |
|---|
KeyValueOptimisticLockingDBWithPluggableCache() |
| Modifier and Type | Method and Description |
|---|---|
STOREVALUECONTAINER |
get(STOREKEY key) |
protected Object |
getSynchObject(STOREKEY key) |
void |
initialize(KeyValueOptimisticLockingDBWithPluggableCache.Cache<STOREKEY,STOREVALUE,STOREVALUECONTAINER> cache) |
void |
put(STOREKEY key,
KeyValueOptimisticLockingDBWithPluggableCache.StoreRequest<STOREVALUE,STOREVALUECONTAINER> storeRequest) |
protected void |
putImpl(STOREKEY key,
KeyValueOptimisticLockingDBWithPluggableCache.StoreRequest<STOREVALUE,STOREVALUECONTAINER> storeRequest) |
protected STOREVALUECONTAINER |
versionCheck(STOREKEY key,
KeyValueOptimisticLockingDBWithPluggableCache.StoreRequest<STOREVALUE,STOREVALUECONTAINER> storeRequest) |
protected ConcurrentMap<STOREKEY,STOREVALUECONTAINER extends KeyValueOptimisticLockingDBWithPluggableCache.ValueContainer<STOREVALUE>> store
public KeyValueOptimisticLockingDBWithPluggableCache()
public void initialize(KeyValueOptimisticLockingDBWithPluggableCache.Cache<STOREKEY,STOREVALUE,STOREVALUECONTAINER> cache)
public void put(STOREKEY key, KeyValueOptimisticLockingDBWithPluggableCache.StoreRequest<STOREVALUE,STOREVALUECONTAINER> storeRequest) throws KeyValueOptimisticLockingDBWithPluggableCache.AlreadyExistsException, KeyValueOptimisticLockingDBWithPluggableCache.DoesNotAlreadyExistException, KeyValueOptimisticLockingDBWithPluggableCache.VersionConflictException
protected void putImpl(STOREKEY key, KeyValueOptimisticLockingDBWithPluggableCache.StoreRequest<STOREVALUE,STOREVALUECONTAINER> storeRequest) throws KeyValueOptimisticLockingDBWithPluggableCache.AlreadyExistsException, KeyValueOptimisticLockingDBWithPluggableCache.DoesNotAlreadyExistException, KeyValueOptimisticLockingDBWithPluggableCache.VersionConflictException
protected final STOREVALUECONTAINER versionCheck(STOREKEY key, KeyValueOptimisticLockingDBWithPluggableCache.StoreRequest<STOREVALUE,STOREVALUECONTAINER> storeRequest) throws KeyValueOptimisticLockingDBWithPluggableCache.AlreadyExistsException, KeyValueOptimisticLockingDBWithPluggableCache.DoesNotAlreadyExistException, KeyValueOptimisticLockingDBWithPluggableCache.VersionConflictException
public STOREVALUECONTAINER get(STOREKEY key)
Copyright © 2015 teletronics.ae. All rights reserved.