Class IgniteClusterMXBeanImpl
- java.lang.Object
-
- org.apache.ignite.internal.processors.cluster.IgniteClusterMXBeanImpl
-
- All Implemented Interfaces:
IgniteClusterMXBean
public class IgniteClusterMXBeanImpl extends Object implements IgniteClusterMXBean
Implementation ofIgniteClusterMXBeaninterface.
-
-
Constructor Summary
Constructors Constructor Description IgniteClusterMXBeanImpl(IgniteClusterImpl cluster)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UUIDgetId()Gets cluster ID.StringgetTag()Gets current cluster tag.voidtag(String newTag)Changes cluster tag to provided value.
-
-
-
Constructor Detail
-
IgniteClusterMXBeanImpl
public IgniteClusterMXBeanImpl(IgniteClusterImpl cluster)
- Parameters:
cluster- Cluster.
-
-
Method Detail
-
getId
public UUID getId()
Gets cluster ID.- Specified by:
getIdin interfaceIgniteClusterMXBean- Returns:
- Cluster ID.
-
getTag
public String getTag()
Gets current cluster tag.- Specified by:
getTagin interfaceIgniteClusterMXBean- Returns:
- Current cluster tag.
-
tag
public void tag(String newTag) throws JMException
Changes cluster tag to provided value.- Specified by:
tagin interfaceIgniteClusterMXBean- Parameters:
newTag- New value to be set as cluster tag.- Throws:
JMException- If provided value failed validation or concurrent change tag operation succeeded.
-
-