org.ehcache.internal.store.disk
Class DiskWriteThreadPool

java.lang.Object
  extended by org.ehcache.internal.store.disk.DiskWriteThreadPool
All Implemented Interfaces:
org.terracotta.offheapstore.util.Factory<java.util.concurrent.ThreadPoolExecutor>

public class DiskWriteThreadPool
extends java.lang.Object
implements org.terracotta.offheapstore.util.Factory<java.util.concurrent.ThreadPoolExecutor>


Constructor Summary
DiskWriteThreadPool(java.lang.String name, int threads)
           
 
Method Summary
 long getTotalQueueSize()
           
 java.util.concurrent.ThreadPoolExecutor newInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiskWriteThreadPool

public DiskWriteThreadPool(java.lang.String name,
                           int threads)
Method Detail

newInstance

public java.util.concurrent.ThreadPoolExecutor newInstance()
Specified by:
newInstance in interface org.terracotta.offheapstore.util.Factory<java.util.concurrent.ThreadPoolExecutor>

getTotalQueueSize

public long getTotalQueueSize()