Interface IMeasurableMemory

All Known Subinterfaces:
Clustering<V>, ClusteringBound<V>, ClusteringBoundary<V>, ClusteringBoundOrBoundary<V>, ClusteringPrefix<V>, DeletionInfo, RangeTombstoneMarker, Row
All Known Implementing Classes:
AbstractArrayClusteringPrefix, AbstractBufferClusteringPrefix, AbstractCell, AbstractOnHeapClusteringPrefix, AbstractRangeTombstoneMarker, AbstractRow, AbstractRowIndexEntry, ArrayCell, ArrayClustering, ArrayClusteringBound, ArrayClusteringBoundary, ArrayClusteringBoundOrBoundary, ArtificialBoundMarker, BTreeRow, BufferCell, BufferClustering, BufferClusteringBound, BufferClusteringBoundary, BufferClusteringBoundOrBoundary, CacheKey, Cell, CellPath, CellWithSource, ClockAndCount, ColumnData, ColumnIdentifier, ComplexColumnData, CounterCacheKey, DeletionTime, DeletionTime.InvalidDeletionTime, EncodingStats, KeyCacheKey, LivenessInfo, MutableDeletionInfo, NativeCell, NativeClustering, RangeTombstoneBoundaryMarker, RangeTombstoneBoundMarker, RangeTombstoneList, RowCacheKey, RowIndexEntry, RowWithSource, StreamingState

public interface IMeasurableMemory
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     
  • Method Details

    • unsharedHeapSize

      long unsharedHeapSize()
      Returns:
      the amount of on-heap memory retained by the object that might be reclaimed if the object were reclaimed, i.e. it should try to exclude globally cached data where possible, or counting portions of arrays that are referenced by the object but used by other objects only (e.g. slabbed byte-buffers), etc.