Class AbstractTrafficShapingHandler.SimpleObjectSizeEstimator

java.lang.Object
org.jboss.netty.util.DefaultObjectSizeEstimator
org.jboss.netty.handler.traffic.AbstractTrafficShapingHandler.SimpleObjectSizeEstimator
All Implemented Interfaces:
ObjectSizeEstimator
Enclosing class:
AbstractTrafficShapingHandler

public static class AbstractTrafficShapingHandler.SimpleObjectSizeEstimator extends DefaultObjectSizeEstimator
For simple ChannelBuffer, returns the readableBytes, else use standard DefaultObjectSizeEstimator.
  • Constructor Details

    • SimpleObjectSizeEstimator

      public SimpleObjectSizeEstimator()
  • Method Details