Class LicenseAttributesCollector

java.lang.Object
org.gridgain.internal.license.LicenseAttributesCollector
All Implemented Interfaces:
org.apache.ignite.internal.cluster.management.NodeAttributesProvider

public class LicenseAttributesCollector extends Object implements org.apache.ignite.internal.cluster.management.NodeAttributesProvider
Local node attributes provider for license check.
  • Field Details

    • ATTR_MACS

      public static final String ATTR_MACS
      Internal attribute: node's mac addresses.
      See Also:
    • ATTR_JVM_PID

      public static final String ATTR_JVM_PID
      Internal attribute: java process id.
      See Also:
    • ATTR_AVAILABLE_PROCESSORS

      public static final String ATTR_AVAILABLE_PROCESSORS
      Internal attribute: number of processors available to node.
      See Also:
    • ATTR_PHY_RAM

      public static final String ATTR_PHY_RAM
      Internal attribute: amount of RAM memory available on the host with node.
      See Also:
    • ATTR_ONHEAP_INIT_SIZE

      public static final String ATTR_ONHEAP_INIT_SIZE
      Internal attribute: amount of heap memory that was initially requested by node.
      See Also:
    • ATTR_ONHEAP_MAX_SIZE

      public static final String ATTR_ONHEAP_MAX_SIZE
      Internal attribute: maximum amount of heap memory that can be used by node.
      See Also:
    • ATTR_OFFHEAP_SIZE

      public static final String ATTR_OFFHEAP_SIZE
      Internal attribute: maximum amount of off-heap memory that can be used by node.
      See Also:
    • ATTR_ONDISK_SIZE

      public static final String ATTR_ONDISK_SIZE
      See Also:
  • Constructor Details

    • LicenseAttributesCollector

      public LicenseAttributesCollector(org.apache.ignite.internal.storage.configurations.StorageConfiguration storageConfiguration, org.apache.ignite.internal.storage.pagememory.PersistentPageMemoryStorageEngine persistentPageMemoryStorageEngine, MemoryMXBean memoryMxBean, OperatingSystemMXBean operatingSystemMxBean)
      Constructor.
      Parameters:
      storageConfiguration - Storage configuration.
      memoryMxBean - JVM standard MXBean to provide information about memory usage.
      operatingSystemMxBean - OS MBean.
  • Method Details

    • nodeAttributes

      public Map<String,String> nodeAttributes()
      Specified by:
      nodeAttributes in interface org.apache.ignite.internal.cluster.management.NodeAttributesProvider