2015/07/26 - Apache DirectMemory has been retired.
For more information, please explore the
Attic
.
Apache DirectMemory
Package Index
|
Class Index
net.sf.ehcache
net.sf.ehcache.store.offheap
org.apache.directmemory
org.apache.directmemory.cache
org.apache.directmemory.conf
org.apache.directmemory.ehcache
org.apache.directmemory.guava
org.apache.directmemory.measures
org.apache.directmemory.memory
org.apache.directmemory.memory.allocator
org.apache.directmemory.memory.buffer
org.apache.directmemory.serialization
org.apache.directmemory.serialization.kryo
org.apache.directmemory.serialization.msgpack
org.apache.directmemory.serialization.protobuf
org.apache.directmemory.serialization.protostuff
org.apache.directmemory.server.client
org.apache.directmemory.server.client.providers.asynchttpclient
org.apache.directmemory.server.client.providers.httpclient
org.apache.directmemory.server.commons
org.apache.directmemory.server.services
org.apache.directmemory.solr
org.apache.directmemory.test
org.apache.directmemory.utils
Interfaces
AllocationPolicy
MemoryManagerService
<V>
Pointer
<T>
Classes
AbstractMemoryManager
<V>
MemoryManager
MemoryManagerServiceImpl
<V>
PointerImpl
<T>
RoundRobinAllocationPolicy
UnsafeMemoryManagerServiceImpl
<V>
Exceptions
IllegalMemoryPointerException
Package Index
|
Class Index
Summary:
Methods
|
Inherited Methods
|
[Expand All]
public class
MemoryManager
extends
Object
java.lang.Object
↳
org.apache.directmemory.memory.MemoryManager
Summary
Public Methods
static
Pointer
<
Object
>
allocate
(int size)
static long
capacity
()
static void
clear
()
static void
close
()
static long
collectExpired
()
static void
collectLFU
()
static void
free
(
Pointer
<
Object
> pointer)
static
MemoryManagerService
<
Object
>
getMemoryManager
()
static void
init
(int numberOfBuffers, int size)
static byte[]
retrieve
(
Pointer
<
Object
> pointer)
static
Pointer
<
Object
>
store
(byte[] payload, int expiresIn)
static
Pointer
<
Object
>
store
(byte[] payload)
static
Pointer
<
Object
>
update
(
Pointer
<
Object
> pointer, byte[] payload)
[Expand]
Inherited Methods
From class
java.lang.Object
Object
clone
()
boolean
equals
(
Object
arg0)
void
finalize
()
final
Class
<?>
getClass
()
int
hashCode
()
final void
notify
()
final void
notifyAll
()
String
toString
()
final void
wait
()
final void
wait
(long arg0, int arg1)
final void
wait
(long arg0)
Public Methods
public static
Pointer
<
Object
>
allocate
(int size)
public static long
capacity
()
public static void
clear
()
public static void
close
()
Throws
IOException
public static long
collectExpired
()
public static void
collectLFU
()
public static void
free
(
Pointer
<
Object
> pointer)
public static
MemoryManagerService
<
Object
>
getMemoryManager
()
public static void
init
(int numberOfBuffers, int size)
public static byte[]
retrieve
(
Pointer
<
Object
> pointer)
public static
Pointer
<
Object
>
store
(byte[] payload, int expiresIn)
public static
Pointer
<
Object
>
store
(byte[] payload)
public static
Pointer
<
Object
>
update
(
Pointer
<
Object
> pointer, byte[] payload)