org.apache.blur.store.blockcache_v2
Class CacheValueBufferPool

java.lang.Object
  extended by org.apache.blur.store.blockcache_v2.CacheValueBufferPool
All Implemented Interfaces:
Closeable

public class CacheValueBufferPool
extends Object
implements Closeable


Constructor Summary
CacheValueBufferPool(BaseCache.STORE store, int capacity)
           
 
Method Summary
 void close()
           
 CacheValue getCacheValue(int cacheBlockSize)
           
 void returnToPool(CacheValue cacheValue)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheValueBufferPool

public CacheValueBufferPool(BaseCache.STORE store,
                            int capacity)
Method Detail

getCacheValue

public CacheValue getCacheValue(int cacheBlockSize)

returnToPool

public void returnToPool(CacheValue cacheValue)

close

public void close()
Specified by:
close in interface Closeable


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.