Public Methods |
static
Pointer<Object>
|
allocate(String key, int size)
|
static
void
|
clear()
|
static
void
|
close()
|
static
void
|
collectAll()
|
static
void
|
collectExpired()
|
static
void
|
collectLFU()
|
static
void
|
dump()
|
static
long
|
entries()
|
static
void
|
free(String key)
|
static
void
|
free(Pointer<Object> pointer)
|
static
MemoryManagerService<Object>
|
getMemoryManager()
|
static
Pointer<Object>
|
getPointer(String key)
|
static
Serializer
|
getSerializer()
|
static
void
|
init(int numberOfBuffers, int size)
|
static
void
|
init(int numberOfBuffers, int size, int initialCapacity, int concurrencyLevel)
|
static
Pointer<Object>
|
put(String key, Object object)
|
static
Pointer<Object>
|
put(String key, Object object, int expiresIn)
|
static
Pointer<Object>
|
putByteArray(String key, byte[] payload, int expiresIn)
|
static
Pointer<Object>
|
putByteArray(String key, byte[] payload)
|
static
Object
|
retrieve(String key)
|
static
byte[]
|
retrieveByteArray(String key)
|
static
void
|
scheduleDisposalEvery(long l)
|