Class ByteBufAllocatorConfig


  • public class ByteBufAllocatorConfig
    extends Object
    Configuration for collecting metrics about ByteBufAllocator.
    Since:
    1.6
    • Constructor Detail

      • ByteBufAllocatorConfig

        public ByteBufAllocatorConfig()
    • Method Detail

      • isEnabled

        public boolean isEnabled()
        The state of the ByteBufAllocator metric collector.
        Returns:
        the state of the ByteBufAllocator metric collector.
      • enable

        public ByteBufAllocatorConfig enable​(boolean enabled)
        Set the state of the ByteBufAllocator metric collector.
        Parameters:
        enabled - True if ByteBufAllocator metrics should be collected. False otherwise
        Returns:
        this
      • isDetailed

        public boolean isDetailed()
        The state of detailed metric collection for the ByteBufAllocator metric collector.
        Returns:
        The state of detailed metric collection for the ByteBufAllocator metric collector.
      • detail

        public ByteBufAllocatorConfig detail​(boolean detailed)
        Set the state of detailed metric collectrion for the ByteBufAllocator metric collector.
        Parameters:
        detailed - The state of detailed metric collection for the ByteBufAllocator metric collector.
        Returns:
        this