org.jboss.netty.channel
类 FixedReceiveBufferSizePredictorFactory

java.lang.Object
  继承者 org.jboss.netty.channel.FixedReceiveBufferSizePredictorFactory
所有已实现的接口:
ReceiveBufferSizePredictorFactory

public class FixedReceiveBufferSizePredictorFactory
extends java.lang.Object
implements ReceiveBufferSizePredictorFactory

返回一个带有预定义配置的FixedReceiveBufferSizePredictorReceiveBufferSizePredictorFactory.


构造方法摘要
FixedReceiveBufferSizePredictorFactory(int bufferSize)
          创建一个一直返回相同指定缓冲大小预测值的FixedReceiveBufferSizePredictor的工厂.
 
方法摘要
 ReceiveBufferSizePredictor getPredictor()
          返回一个新创建的ReceiveBufferSizePredictor.
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

FixedReceiveBufferSizePredictorFactory

public FixedReceiveBufferSizePredictorFactory(int bufferSize)
创建一个一直返回相同指定缓冲大小预测值的FixedReceiveBufferSizePredictor的工厂.

方法详细信息

getPredictor

public ReceiveBufferSizePredictor getPredictor()
                                        throws java.lang.Exception
从接口 ReceiveBufferSizePredictorFactory 复制的描述
返回一个新创建的ReceiveBufferSizePredictor.

指定者:
接口 ReceiveBufferSizePredictorFactory 中的 getPredictor
抛出:
java.lang.Exception