public final class ByteArrayCache extends SpecificCacheBase<byte[]>
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_BUFFER_SIZE |
static int |
DEFAULT_NUM_BUFFERS |
| Modifier and Type | Method and Description |
|---|---|
static ObjectFactory<byte[]> |
createFactory(int bufferSize) |
static ByteArrayCache |
createNoop(int bufferSize) |
static ByteArrayCache |
createScalable(int bufferSize,
int maxEntries) |
static ByteArrayCache |
createScalable(int bufferSize,
int maxEntries,
int bufferBuckets) |
static ByteArrayCache |
createSimple(int bufferSize) |
static ByteArrayCache |
createSimple(int bufferSize,
int maxEntries) |
acquire, getCacheStats, releasepublic static final int DEFAULT_BUFFER_SIZE
public static final int DEFAULT_NUM_BUFFERS
public static ByteArrayCache createSimple(int bufferSize)
public static ByteArrayCache createSimple(int bufferSize, int maxEntries)
public static ByteArrayCache createScalable(int bufferSize, int maxEntries)
public static ByteArrayCache createScalable(int bufferSize, int maxEntries, int bufferBuckets)
public static ByteArrayCache createNoop(int bufferSize)
public static ObjectFactory<byte[]> createFactory(int bufferSize)
Copyright © 2012. All Rights Reserved.