public class ByteBufAllocatorConfig
extends java.lang.Object
ByteBufAllocator
.Constructor and Description |
---|
ByteBufAllocatorConfig() |
Modifier and Type | Method and Description |
---|---|
ByteBufAllocatorConfig |
detail(boolean detailed)
Set the state of detailed metric collectrion for the
ByteBufAllocator metric collector. |
ByteBufAllocatorConfig |
enable(boolean enabled)
Set the state of the
ByteBufAllocator metric collector. |
boolean |
isDetailed()
The state of detailed metric collection for the
ByteBufAllocator metric collector. |
boolean |
isEnabled()
The state of the ByteBufAllocator metric collector
|
public boolean isEnabled()
ByteBufAllocator
metric collector.public ByteBufAllocatorConfig enable(boolean enabled)
ByteBufAllocator
metric collector.enabled
- True if ByteBufAllocator
metrics should be collected. False otherwisethis
public boolean isDetailed()
ByteBufAllocator
metric collector.ByteBufAllocator
metric collector.public ByteBufAllocatorConfig detail(boolean detailed)
ByteBufAllocator
metric collector.detailed
- The state of detailed metric collection for the ByteBufAllocator
metric collector.this