com.sun.grizzly.memory.slab
Class SlabPoolMemoryManagerImpl
java.lang.Object
com.sun.grizzly.memory.ByteBufferManager
com.sun.grizzly.memory.slab.SlabMemoryManagerBase
com.sun.grizzly.memory.slab.SlabPoolMemoryManagerImpl
- All Implemented Interfaces:
- MemoryManager<ByteBufferWrapper>, WrapperAware<ByteBufferWrapper>
public class SlabPoolMemoryManagerImpl
- extends SlabMemoryManagerBase
An Allocator implemented on a SlabPool. All of the Slab
management is delegated to the SlabPool.
- Author:
- Ken Cavanaugh
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SlabPoolMemoryManagerImpl
public SlabPoolMemoryManagerImpl(SlabMemoryManagerFactory.SlabPool pool)
maxAllocationSize
public int maxAllocationSize()
- Description copied from class:
SlabMemoryManagerBase
- Returns the maximum size that can be allocated by an allocate( int ) call.
- Specified by:
maxAllocationSize in class SlabMemoryManagerBase
bufferType
public boolean bufferType()
dispose
public void dispose(Slab slab,
ByteBuffer store)
- Specified by:
dispose in class SlabMemoryManagerBase
Copyright © 2009 SUN Microsystems. All Rights Reserved.