org.glassfish.grizzly.memory
Interface ThreadLocalPool<E>
- Type Parameters:
E
-
public interface ThreadLocalPool<E>
TODO Documentation
reset
void reset(E pool)
allocate
E allocate(int size)
reallocate
E reallocate(E oldBuffer,
int newSize)
release
boolean release(E underlyingBuffer)
isLastAllocated
boolean isLastAllocated(E oldBuffer)
reduceLastAllocated
E reduceLastAllocated(E buffer)
wantReset
boolean wantReset(int size)
remaining
int remaining()
hasRemaining
boolean hasRemaining()
Copyright © 2012 Oracle Corporation. All Rights Reserved.