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 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