|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.emory.mathcs.util.allocator.DirectAllocator
Implementation of the Allocator
interface which allocates fresh
data array at each request and has no memory usage control.
Nested Class Summary |
Nested classes inherited from class edu.emory.mathcs.util.allocator.Allocator |
Allocator.Buffer |
Constructor Summary | |
DirectAllocator()
|
Method Summary | |
Allocator.Buffer |
allocate(int size,
boolean clear,
long timeout)
Creates a fresh buffer containing zeroed-out array of the specified size. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DirectAllocator()
Method Detail |
public Allocator.Buffer allocate(int size, boolean clear, long timeout)
allocate
in interface Allocator
size
- the requested buffer sizeclear
- ignoredtimeout
- ignored
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |