Package org.gridgain.internal.license
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final StringInternal attribute: number of processors available to node.static final StringInternal attribute: java process id.static final StringInternal attribute: node's mac addresses.static final StringInternal attribute: maximum amount of off-heap memory that can be used by node.static final Stringstatic final StringInternal attribute: amount of heap memory that was initially requested by node.static final StringInternal attribute: maximum amount of heap memory that can be used by node.static final StringInternal attribute: amount of RAM memory available on the host with node. -
Constructor Summary
ConstructorsConstructorDescriptionLicenseAttributesCollector(org.apache.ignite.internal.storage.configurations.StorageConfiguration storageConfiguration, org.apache.ignite.internal.storage.pagememory.PersistentPageMemoryStorageEngine persistentPageMemoryStorageEngine, MemoryMXBean memoryMxBean, OperatingSystemMXBean operatingSystemMxBean) Constructor. -
Method Summary
-
Field Details
-
ATTR_MACS
Internal attribute: node's mac addresses.- See Also:
-
ATTR_JVM_PID
Internal attribute: java process id.- See Also:
-
ATTR_AVAILABLE_PROCESSORS
Internal attribute: number of processors available to node.- See Also:
-
ATTR_PHY_RAM
Internal attribute: amount of RAM memory available on the host with node.- See Also:
-
ATTR_ONHEAP_INIT_SIZE
Internal attribute: amount of heap memory that was initially requested by node.- See Also:
-
ATTR_ONHEAP_MAX_SIZE
Internal attribute: maximum amount of heap memory that can be used by node.- See Also:
-
ATTR_OFFHEAP_SIZE
Internal attribute: maximum amount of off-heap memory that can be used by node.- See Also:
-
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
- Specified by:
nodeAttributesin interfaceorg.apache.ignite.internal.cluster.management.NodeAttributesProvider
-