| Access | Constructor and Description |
|---|---|
| public | TerracottaTransactionalCopyingCacheStore(TerracottaStore
the real store store, ReadWriteCopyStrategy<Element> the copy strategy to use on every copy operation copyStrategyInstance, ClassLoader classloader of the containing cache loader)Creates a terracotta copying instance of store, that wraps the actual storage |
| Modifier and Type | Method and Description |
|---|---|
| public WriteBehind | createWriteBehind()
Implements net. WriteBehind createWriteBehind
|
| public Set | getLocalKeys()
Implements net. |
| public CacheConfiguration. | getTransactionalMode()
Implements net. |
| public void | notifyCacheEventListenersChanged()
Implements net. |
| public void | quickClear()
Implements net. |
| public int | quickSize()
Implements net. |
| public Element | unsafeGet(Object
the key key)Implements net. |
| TerracottaTransactionalCopyingCacheStore | back to summary |
|---|---|
| public TerracottaTransactionalCopyingCacheStore(TerracottaStore store, ReadWriteCopyStrategy<Element> copyStrategyInstance, ClassLoader loader) Creates a terracotta copying instance of store, that wraps the actual storage
| |
| createWriteBehind | back to summary |
|---|---|
| public WriteBehind createWriteBehind() Implements net. Doc from net.
| |
| getLocalKeys | back to summary |
|---|---|
| public Set Implements net. Doc from net. Returns set of keys from the cache which are present in the node locally. | |
| getTransactionalMode | back to summary |
|---|---|
| public CacheConfiguration. Implements net. Doc from net. Get the transactional mode of this store. The returned value is the String value of CacheConfiguration.TransactionalMode.
| |
| notifyCacheEventListenersChanged | back to summary |
|---|---|
| public void notifyCacheEventListenersChanged() Implements net. Doc from net. Notify the underlying store that some change has occured in the set of registered cache listeners.
| |
| quickClear | back to summary |
|---|---|
| public void quickClear() Implements net. Doc from net. Remove all the contents of the store.
| |
| quickSize | back to summary |
|---|---|
| public int quickSize() Implements net. Doc from net. Get an approximate count of elements in the store.
| |
| unsafeGet | back to summary |
|---|---|
| public Element unsafeGet(Object key) Implements net. Doc from net. Returns the local value associated with the key. Local value means that the object mapped to the key is present in the VM locally. In case its not, will return null. Note that even when returning null, the value may be present in the Terracotta server array. This operation does not acquire any locks when doing the operation and may return stale values. This Operation does not update last usage statistics | |