Interface IoEventSizeEstimator
- All Known Implementing Classes:
DefaultIoEventSizeEstimator
public interface IoEventSizeEstimator
Estimates the amount of memory that the specified
IoEvent occupies
in the current JVM.-
Method Summary
Modifier and TypeMethodDescriptionintestimateSize(IoEvent event) Estimate the IoEvent size in number of bytes
-
Method Details
-
estimateSize
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
-