org.quickserver.util.pool
Class ByteBufferObjectFactory
java.lang.Object
org.apache.commons.pool.BasePoolableObjectFactory
org.quickserver.util.pool.ByteBufferObjectFactory
- All Implemented Interfaces:
- org.apache.commons.pool.PoolableObjectFactory
- public class ByteBufferObjectFactory
- extends org.apache.commons.pool.BasePoolableObjectFactory
A factory for creating java.nio.ByteBuffer instances.
- Since:
- 1.3
- Author:
- Akshathkumar Shetty
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteBufferObjectFactory
public ByteBufferObjectFactory(int bufferSize,
boolean useDirectByteBuffer)
makeObject
public java.lang.Object makeObject()
passivateObject
public void passivateObject(java.lang.Object obj)
activateObject
public void activateObject(java.lang.Object obj)
destroyObject
public void destroyObject(java.lang.Object obj)
validateObject
public boolean validateObject(java.lang.Object obj)
Copyright © 2003-2005 QuickServer.org