Class SafeAllocatorMetric
- java.lang.Object
-
- com.linkedin.alpini.base.safealloc.SafeAllocatorMetric
-
- All Implemented Interfaces:
io.netty.buffer.ByteBufAllocatorMetric
public final class SafeAllocatorMetric extends java.lang.Object implements io.netty.buffer.ByteBufAllocatorMetric
Metrics regarding theSafeAllocator
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
activeAllocations()
long
leakedAllocations()
long
totalQueues()
long
totalReferences()
long
usedDirectMemory()
long
usedHeapMemory()
-
-
-
Method Detail
-
totalReferences
public long totalReferences()
-
totalQueues
public long totalQueues()
-
activeAllocations
public long activeAllocations()
-
leakedAllocations
public long leakedAllocations()
-
usedHeapMemory
public long usedHeapMemory()
- Specified by:
usedHeapMemory
in interfaceio.netty.buffer.ByteBufAllocatorMetric
-
usedDirectMemory
public long usedDirectMemory()
- Specified by:
usedDirectMemory
in interfaceio.netty.buffer.ByteBufAllocatorMetric
-
-