Package org.apache.ignite.spi
Class IgniteSpiMBeanAdapter
- java.lang.Object
- 
- org.apache.ignite.spi.IgniteSpiMBeanAdapter
 
- 
- All Implemented Interfaces:
- IgniteSpiManagementMBean
 
 public class IgniteSpiMBeanAdapter extends Object implements IgniteSpiManagementMBean This class provides convenient adapter for MBean implementations.
- 
- 
Field SummaryFields Modifier and Type Field Description protected IgniteSpiAdapterspiAdapter
 - 
Constructor SummaryConstructors Constructor Description IgniteSpiMBeanAdapter(IgniteSpiAdapter spiAdapter)Constructor
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetIgniteHome()Gets Ignite installation home folder (i.e.UUIDgetLocalNodeId()Gets ID of the local node.StringgetName()Gets name of the SPI.longgetStartTimestamp()Get start timestamp of this SPI.StringgetStartTimestampFormatted()Gets string presentation of the start timestamp.longgetUpTime()Gets up-time of this SPI in ms.StringgetUpTimeFormatted()Gets string presentation of up-time for this SPI.
 
- 
- 
- 
Field Detail- 
spiAdapterprotected IgniteSpiAdapter spiAdapter 
 
- 
 - 
Constructor Detail- 
IgniteSpiMBeanAdapterpublic IgniteSpiMBeanAdapter(IgniteSpiAdapter spiAdapter) Constructor- Parameters:
- spiAdapter- Spi implementation.
 
 
- 
 - 
Method Detail- 
getStartTimestampFormattedpublic final String getStartTimestampFormatted() Gets string presentation of the start timestamp.- Specified by:
- getStartTimestampFormattedin interface- IgniteSpiManagementMBean
- Returns:
- String presentation of the start timestamp.
 
 - 
getUpTimeFormattedpublic final String getUpTimeFormatted() Gets string presentation of up-time for this SPI.- Specified by:
- getUpTimeFormattedin interface- IgniteSpiManagementMBean
- Returns:
- String presentation of up-time for this SPI.
 
 - 
getStartTimestamppublic final long getStartTimestamp() Get start timestamp of this SPI.- Specified by:
- getStartTimestampin interface- IgniteSpiManagementMBean
- Returns:
- Start timestamp of this SPI.
 
 - 
getUpTimepublic final long getUpTime() Gets up-time of this SPI in ms.- Specified by:
- getUpTimein interface- IgniteSpiManagementMBean
- Returns:
- Up-time of this SPI.
 
 - 
getLocalNodeIdpublic UUID getLocalNodeId() Gets ID of the local node.- Specified by:
- getLocalNodeIdin interface- IgniteSpiManagementMBean
- Returns:
- ID of the local node.
 
 - 
getIgniteHomepublic final String getIgniteHome() Gets Ignite installation home folder (i.e. ${IGNITE_HOME});- Specified by:
- getIgniteHomein interface- IgniteSpiManagementMBean
- Returns:
- Ignite installation home folder.
 
 - 
getNamepublic String getName() Gets name of the SPI.- Specified by:
- getNamein interface- IgniteSpiManagementMBean
- Returns:
- Name of the SPI.
 
 
- 
 
-