org.ehcache.internal.store.offheap.factories
Class EhcacheSegmentFactory<K,V>

java.lang.Object
  extended by 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


Nested Class Summary
static class EhcacheSegmentFactory.EhcacheSegment<K,V>
           
 
Constructor Summary
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)
           
 
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
 

Constructor Detail

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)
Method Detail

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>>