org.apache.solr.store.blockcache
Class BufferStore

java.lang.Object
  extended by org.apache.solr.store.blockcache.BufferStore

public class BufferStore
extends Object


Field Summary
static org.slf4j.Logger LOG
           
static AtomicLong shardBuffercacheAllocate1024
           
static AtomicLong shardBuffercacheAllocate8192
           
static AtomicLong shardBuffercacheAllocateOther
           
static AtomicLong shardBuffercacheLost
           
 
Constructor Summary
BufferStore()
           
 
Method Summary
static void init(int _1024Size, int _8192Size, Metrics metrics)
           
static void putBuffer(byte[] buffer)
           
static byte[] takeBuffer(int bufferSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static org.slf4j.Logger LOG

shardBuffercacheLost

public static AtomicLong shardBuffercacheLost

shardBuffercacheAllocate1024

public static AtomicLong shardBuffercacheAllocate1024

shardBuffercacheAllocate8192

public static AtomicLong shardBuffercacheAllocate8192

shardBuffercacheAllocateOther

public static AtomicLong shardBuffercacheAllocateOther
Constructor Detail

BufferStore

public BufferStore()
Method Detail

init

public static void init(int _1024Size,
                        int _8192Size,
                        Metrics metrics)

takeBuffer

public static byte[] takeBuffer(int bufferSize)

putBuffer

public static void putBuffer(byte[] buffer)


Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.