ehcache

net.sf.ehcache.store
Interface MemoryStore.BackingFactory

Enclosing class:
MemoryStore

protected static interface MemoryStore.BackingFactory

Factory interface to create a MemoryStore backing.


Method Summary
 SelectableConcurrentHashMap newBackingMap(PoolAccessor poolAccessor, int initialCapacity, float loadFactor, int concurrency, int maximumCapacity, RegisteredEventListeners eventListener)
          Deprecated. 
 SelectableConcurrentHashMap newBackingMap(PoolAccessor poolAccessor, int concurrency, int maximumCapacity, RegisteredEventListeners eventListener)
          Create a MemoryStore backing map.
 

Method Detail

newBackingMap

@Deprecated
SelectableConcurrentHashMap newBackingMap(PoolAccessor poolAccessor,
                                                     int initialCapacity,
                                                     float loadFactor,
                                                     int concurrency,
                                                     int maximumCapacity,
                                                     RegisteredEventListeners eventListener)
Deprecated. 

Create a MemoryStore backing map.

Parameters:
poolAccessor - on-heap pool accessor
initialCapacity - initial store capacity
loadFactor - map load factor
concurrency - map concurrency
maximumCapacity - maximum store capacity
eventListener - event listener (or null for no notifications)
Returns:
a backing map

newBackingMap

SelectableConcurrentHashMap newBackingMap(PoolAccessor poolAccessor,
                                          int concurrency,
                                          int maximumCapacity,
                                          RegisteredEventListeners eventListener)
Create a MemoryStore backing map.

Parameters:
poolAccessor - on-heap pool accessor
concurrency - map concurrency
maximumCapacity - maximum store capacity
eventListener - event listener (or null for no notifications)
Returns:
a backing map

ehcache

Copyright 2001-2016, Terracotta, Inc.