public class BufferStore extends Object
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
static AtomicLong |
shardBuffercacheAllocate1024 |
static AtomicLong |
shardBuffercacheAllocate8192 |
static AtomicLong |
shardBuffercacheAllocateOther |
static AtomicLong |
shardBuffercacheLost |
Constructor and Description |
---|
BufferStore() |
Modifier and Type | Method and Description |
---|---|
static void |
init(int _1024Size,
int _8192Size,
Metrics metrics) |
static void |
putBuffer(byte[] buffer) |
static byte[] |
takeBuffer(int bufferSize) |
public static org.slf4j.Logger LOG
public static AtomicLong shardBuffercacheLost
public static AtomicLong shardBuffercacheAllocate1024
public static AtomicLong shardBuffercacheAllocate8192
public static AtomicLong shardBuffercacheAllocateOther
public static void init(int _1024Size, int _8192Size, Metrics metrics)
public static byte[] takeBuffer(int bufferSize)
public static void putBuffer(byte[] buffer)
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.