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