Package org.apache.cassandra.cache
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
,ClockAndCount
,ColumnData
,ColumnIdentifier
,ComplexColumnData
,CounterCacheKey
,DeletionTime
,DeletionTime.InvalidDeletionTime
,EncodingStats
,KeyCacheKey
,LivenessInfo
,MutableDeletionInfo
,NativeCell
,NativeClustering
,RangeTombstoneBoundaryMarker
,RangeTombstoneBoundMarker
,RangeTombstoneList
,RowCacheKey
,RowIndexEntry
,StreamingState
public interface IMeasurableMemory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
unsharedHeapSize()
-
-
-
Method Detail
-
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.
-
-