org.ehcache.internal.store.offheap.factories
Class EhcacheSegmentFactory<K,V>
java.lang.Object
org.ehcache.internal.store.offheap.factories.EhcacheSegmentFactory<K,V>
- All Implemented Interfaces:
- org.terracotta.offheapstore.util.Factory<org.terracotta.offheapstore.pinning.PinnableSegment<K,V>>
public class EhcacheSegmentFactory<K,V>
- extends java.lang.Object
- implements org.terracotta.offheapstore.util.Factory<org.terracotta.offheapstore.pinning.PinnableSegment<K,V>>
EhcacheSegmentFactory
Method Summary |
org.terracotta.offheapstore.pinning.PinnableSegment<K,V> |
newInstance()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EhcacheSegmentFactory
public EhcacheSegmentFactory(org.terracotta.offheapstore.paging.PageSource source,
org.terracotta.offheapstore.util.Factory<? extends org.terracotta.offheapstore.storage.StorageEngine<? super K,? super V>> storageEngineFactory,
int initialTableSize,
Predicate<java.util.Map.Entry<K,V>> evictionVeto,
EhcacheSegmentFactory.EhcacheSegment.EvictionListener<K,V> evictionListener)
newInstance
public org.terracotta.offheapstore.pinning.PinnableSegment<K,V> newInstance()
- Specified by:
newInstance
in interface org.terracotta.offheapstore.util.Factory<org.terracotta.offheapstore.pinning.PinnableSegment<K,V>>