|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.netty.channel.AdaptiveReceiveBufferSizePredictorFactory
public class AdaptiveReceiveBufferSizePredictorFactory
The ReceiveBufferSizePredictorFactory
that creates a new
AdaptiveReceiveBufferSizePredictor
.
Constructor Summary | |
---|---|
AdaptiveReceiveBufferSizePredictorFactory()
Creates a new factory with the default parameters. |
|
AdaptiveReceiveBufferSizePredictorFactory(int minimum,
int initial,
int maximum)
Creates a new factory with the specified parameters. |
Method Summary | |
---|---|
ReceiveBufferSizePredictor |
getPredictor()
Returns a newly created ReceiveBufferSizePredictor . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AdaptiveReceiveBufferSizePredictorFactory()
1024
, does not
go down below 64
, and does not go up above 65536
.
public AdaptiveReceiveBufferSizePredictorFactory(int minimum, int initial, int maximum)
minimum
- the inclusive lower bound of the expected buffer sizeinitial
- the initial buffer size when no feed back was receivedmaximum
- the inclusive upper bound of the expected buffer sizeMethod Detail |
---|
public ReceiveBufferSizePredictor getPredictor() throws Exception
ReceiveBufferSizePredictorFactory
ReceiveBufferSizePredictor
.
getPredictor
in interface ReceiveBufferSizePredictorFactory
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |