Class SimpleAssignmentStrategy.JMXPartitionStats

  • Enclosing class:
    SimpleAssignmentStrategy

    protected class SimpleAssignmentStrategy.JMXPartitionStats
    extends Object
    A class that calculate MBean attribute values from last sampled PartitionStats
    • Field Detail

      • m_cbMaxStorage

        protected long m_cbMaxStorage
        The maximum node storage size in bytes.
      • m_cbAverageStorage

        protected long m_cbAverageStorage
        The average node storage size in bytes.
      • m_cbMaxPartition

        protected long m_cbMaxPartition
        The maximum partition storage size in bytes.
      • m_cbAveragePartition

        protected long m_cbAveragePartition
        The average partition storage size in bytes.
      • m_nMaxLoadId

        protected int m_nMaxLoadId
        The node ID with maximum node storage size in bytes.
    • Constructor Detail

      • JMXPartitionStats

        protected JMXPartitionStats()
    • Method Detail

      • getMaxStorageSize

        public long getMaxStorageSize()
        Return maximum node storage size.
        Returns:
        maximum node storage size in bytes
      • getAverageStorageSize

        public long getAverageStorageSize()
        Return average node storage size.
        Returns:
        average node storage size in bytes
      • getMaxPartitionSize

        public long getMaxPartitionSize()
        Return maximum partition storage size.
        Returns:
        Maximum partition storage size in bytes
      • getAveragePartitionSize

        public long getAveragePartitionSize()
        Return average partition storage size.
        Returns:
        average partition storage size in bytes
      • getMaxLoadNodeId

        public int getMaxLoadNodeId()
        Return node ID with maximum node storage size.
        Returns:
        node ID with maximum node storage size
      • calculateJMXPartitionStats

        public void calculateJMXPartitionStats()
        Calculate MBean attribute values for partition statistics.