org.atmosphere.nettosphere.util
Class ChannelBufferPool

java.lang.Object
  extended by org.atmosphere.nettosphere.util.ChannelBufferPool

public class ChannelBufferPool
extends Object


Constructor Summary
ChannelBufferPool(int minIdle)
           
ChannelBufferPool(int minIdle, int writeBufferPoolSize, long validationInterval, org.atmosphere.cpr.AtmosphereConfig config)
           
 
Method Summary
protected  org.jboss.netty.buffer.ChannelBuffer createObject()
           
 void offer(org.jboss.netty.buffer.ChannelBuffer channelBuffer)
           
 org.jboss.netty.buffer.ChannelBuffer poll()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelBufferPool

public ChannelBufferPool(int minIdle)

ChannelBufferPool

public ChannelBufferPool(int minIdle,
                         int writeBufferPoolSize,
                         long validationInterval,
                         org.atmosphere.cpr.AtmosphereConfig config)
Method Detail

poll

public org.jboss.netty.buffer.ChannelBuffer poll()

offer

public void offer(org.jboss.netty.buffer.ChannelBuffer channelBuffer)

createObject

protected org.jboss.netty.buffer.ChannelBuffer createObject()


Copyright © 2014. All Rights Reserved.