Package org.apache.mina.filter.executor
Interface IoEventSizeEstimator
-
- All Known Implementing Classes:
DefaultIoEventSizeEstimator
public interface IoEventSizeEstimator
Estimates the amount of memory that the specifiedIoEvent
occupies in the current JVM.- Author:
- Apache MINA Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
estimateSize(IoEvent event)
Estimate the IoEvent size in number of bytes
-
-
-
Method Detail
-
estimateSize
int estimateSize(IoEvent event)
Estimate the IoEvent size in number of bytes- Parameters:
event
- The event we want to estimate the size of- Returns:
- The estimated size of this event
-
-