public class CollectorMemoryTracker extends Object implements MemoryTracker
MemoryTracker that tracks
allocations and allows setting a memory limit per collector| Constructor and Description |
|---|
CollectorMemoryTracker(String name,
long memoryLimit) |
public CollectorMemoryTracker(String name, long memoryLimit)
public void updateBytes(long bytes)
updateBytes in interface MemoryTrackerpublic long getBytes()
getBytes in interface MemoryTrackerCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.