org.terracotta.modules.ehcache.store
Class LocalBufferedMap<K,V>
java.lang.Object
org.terracotta.modules.ehcache.store.LocalBufferedMap<K,V>
public class LocalBufferedMap<K,V>
- extends Object
- Author:
- Abhishek Sanoujam
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_LOCAL_BUFFER_PUTS_BATCH_SIZE
protected static final int DEFAULT_LOCAL_BUFFER_PUTS_BATCH_SIZE
- See Also:
- Constant Field Values
DEFAULT_LOCAL_BUFFER_PUTS_BATCH_TIME_MILLIS
protected static final int DEFAULT_LOCAL_BUFFER_PUTS_BATCH_TIME_MILLIS
- See Also:
- Constant Field Values
DEFAULT_LOCAL_BUFFER_PUTS_THROTTLE_SIZE
protected static final int DEFAULT_LOCAL_BUFFER_PUTS_THROTTLE_SIZE
- See Also:
- Constant Field Values
REMOVE_SENTINEL_VALUE
protected static final Object REMOVE_SENTINEL_VALUE
LocalBufferedMap
public LocalBufferedMap(ClusteredStoreBackend clusteredStoreBackend,
CacheCoherence incoherentNodesSet,
ValueModeHandler valueModeHandler)
get
public V get(K key)
remove
public V remove(K key)
containsKey
public boolean containsKey(K key)
getSize
public int getSize()
clear
public void clear()
getKeyArray
public Object[] getKeyArray()
put
public void put(K key,
V value)
dispose
public void dispose()
startBuffering
public void startBuffering()
flushAndStopBuffering
public void flushAndStopBuffering()
Copyright © 2010 Terracotta, Inc.. All Rights Reserved.