Package org.apache.mina.filter.traffic

IoFilter's which will provide functionality for shaping the traffic and preventing data flooding.

See:
          Description

Interface Summary
IoFloodException A tagging interface for identifying ReadFloodException and WriteFloodException; It's not really an exception.
MessageSizeEstimator Estimates the amount of memory that the specified object occupies in the VM.
 

Class Summary
DefaultMessageSizeEstimator A default MessageSizeEstimator implementation.
ReadThrottleFilter An IoFilter that throttles incoming traffic to prevent a unwanted OutOfMemoryError under heavy load.
TrafficShapingFilter An IoFilter that limits bandwidth (bytes per second) related with read and write operations on a per-session basis.
WriteThrottleFilter An IoFilter that throttles outgoing traffic to prevent a unwanted OutOfMemoryError under heavy load.
 

Enum Summary
ReadThrottlePolicy Tells ReadThrottleFilter what to do when the read buffer grows up too much.
WriteThrottlePolicy Tells WriteThrottleFilter what to do when there are too many scheduled write requests in the session buffer.
 

Exception Summary
ReadFloodException An exception that is thrown by ReadThrottleFilter when the buffer size grows up too much.
WriteFloodException An exception that is thrown by WriteThrottleFilter when there are too many scheduled write requests or too much amount of scheduled write data in an IoSession's internal write request queue.
 

Package org.apache.mina.filter.traffic Description

IoFilter's which will provide functionality for shaping the traffic and preventing data flooding.



Copyright © 2004-2009 Apache MINA Project. All Rights Reserved.