Class ByteBufAllocatorConfig


  • public class ByteBufAllocatorConfig
    extends java.lang.Object
    Configuration for collecting metrics about ByteBufAllocator.
    Since:
    1.6
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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