Class ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems


  • public final class ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems
    extends Object
    The ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems model.
    • Constructor Detail

      • ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems

        public ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems()
    • Method Detail

      • address

        public String address()
        Get the address property: The node's IP address.
        Returns:
        the address value.
      • state

        public NodeState state()
        Get the state property: The state of the node in Cassandra ring.
        Returns:
        the state value.
      • status

        public String status()
        Get the status property: The status property.
        Returns:
        the status value.
      • load

        public String load()
        Get the load property: The amount of file system data in the data directory (e.g., 47.66 kB), excluding all content in the snapshots subdirectories. Because all SSTable data files are included, any data that is not cleaned up (such as TTL-expired cells or tombstones) is counted.
        Returns:
        the load value.
      • withLoad

        public ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems withLoad​(String load)
        Set the load property: The amount of file system data in the data directory (e.g., 47.66 kB), excluding all content in the snapshots subdirectories. Because all SSTable data files are included, any data that is not cleaned up (such as TTL-expired cells or tombstones) is counted.
        Parameters:
        load - the load value to set.
        Returns:
        the ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems object itself.
      • tokens

        public List<String> tokens()
        Get the tokens property: List of tokens this node covers.
        Returns:
        the tokens value.
      • size

        public Integer size()
        Get the size property: The size property.
        Returns:
        the size value.
      • hostId

        public String hostId()
        Get the hostId property: The network ID of the node.
        Returns:
        the hostId value.
      • rack

        public String rack()
        Get the rack property: The rack this node is part of.
        Returns:
        the rack value.
      • timestamp

        public String timestamp()
        Get the timestamp property: The timestamp when these statistics were captured.
        Returns:
        the timestamp value.
      • diskUsedKB

        public Long diskUsedKB()
        Get the diskUsedKB property: The amount of disk used, in kB, of the directory /var/lib/cassandra.
        Returns:
        the diskUsedKB value.
      • diskFreeKB

        public Long diskFreeKB()
        Get the diskFreeKB property: The amount of disk free, in kB, of the directory /var/lib/cassandra.
        Returns:
        the diskFreeKB value.
      • memoryUsedKB

        public Long memoryUsedKB()
        Get the memoryUsedKB property: Used memory (calculated as total - free - buffers - cache), in kB.
        Returns:
        the memoryUsedKB value.
      • memoryBuffersAndCachedKB

        public Long memoryBuffersAndCachedKB()
        Get the memoryBuffersAndCachedKB property: Memory used by kernel buffers (Buffers in /proc/meminfo) and page cache and slabs (Cached and SReclaimable in /proc/meminfo), in kB.
        Returns:
        the memoryBuffersAndCachedKB value.
      • withMemoryBuffersAndCachedKB

        public ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems withMemoryBuffersAndCachedKB​(Long memoryBuffersAndCachedKB)
        Set the memoryBuffersAndCachedKB property: Memory used by kernel buffers (Buffers in /proc/meminfo) and page cache and slabs (Cached and SReclaimable in /proc/meminfo), in kB.
        Parameters:
        memoryBuffersAndCachedKB - the memoryBuffersAndCachedKB value to set.
        Returns:
        the ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems object itself.
      • memoryFreeKB

        public Long memoryFreeKB()
        Get the memoryFreeKB property: Unused memory (MemFree and SwapFree in /proc/meminfo), in kB.
        Returns:
        the memoryFreeKB value.
      • memoryTotalKB

        public Long memoryTotalKB()
        Get the memoryTotalKB property: Total installed memory (MemTotal and SwapTotal in /proc/meminfo), in kB.
        Returns:
        the memoryTotalKB value.
      • cpuUsage

        public Double cpuUsage()
        Get the cpuUsage property: A float representing the current system-wide CPU utilization as a percentage.
        Returns:
        the cpuUsage value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.