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 Type
    Method
    Description
    int
    Estimate the IoEvent size in number of bytes
  • Method Details

    • 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