java.lang.Object | |
↳ | org.apache.directmemory.memory.RoundRobinAllocationPolicy |
Round Robin allocation policy. An internal counter is incremented (modulo the size of the buffer), so each calls to #getActiveBuffer(OffHeapMemoryBuffer, int) will increment the counter and return the buffer at the index of the counter.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the
Allocator to use to allocate. | |||||||||||
Initialization function.
| |||||||||||
Reset internal state
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.apache.directmemory.memory.AllocationPolicy
|
Reset internal state