Package org.apache.ignite.spi.metric.log

## Class LogExporterSpi

- java.lang.Object
- - org.apache.ignite.spi.IgniteSpiAdapter
  - - org.apache.ignite.internal.processors.metric.PushMetricsExporterAdapter
    - - org.apache.ignite.spi.metric.log.LogExporterSpi

- All Implemented Interfaces:
    `IgniteSpi`, `MetricExporterSpi`

      public class LogExporterSpi
      extends org.apache.ignite.internal.processors.metric.PushMetricsExporterAdapter

  This SPI implementation exports metrics to Ignite log.

- - ### Field Summary

    - ### Fields inherited from class org.apache.ignite.internal.processors.metric.PushMetricsExporterAdapter

      `DFLT_EXPORT_PERIOD, filter, mreg`

    - ### Fields inherited from class org.apache.ignite.spi.IgniteSpiAdapter

      `ignite, igniteInstanceName, log`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `LogExporterSpi()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `export()` | Callback to do the export of metrics info.

    - ### Methods inherited from class org.apache.ignite.internal.processors.metric.PushMetricsExporterAdapter

      `getPeriod, onContextInitialized0, setExportFilter, setMetricRegistry, setPeriod, spiStart, spiStop`

    - ### Methods inherited from class org.apache.ignite.spi.IgniteSpiAdapter

      `addTimeoutObject, assertParameter, checkConfigurationConsistency0, clientFailureDetectionTimeout, configInfo, createSpiAttributeName, failureDetectionTimeout, failureDetectionTimeoutEnabled, failureDetectionTimeoutEnabled, getConsistentAttributeNames, getExceptionRegistry, getLocalNode, getName, getNodeAttributes, getSpiContext, ignite, initFailureDetectionTimeout, injectables, injectResources, isNodeStopping, onBeforeStart, onClientDisconnected, onClientReconnected, onContextDestroyed, onContextDestroyed0, onContextInitialized, registerMBean, removeTimeoutObject, setName, started, startInfo, startStopwatch, stopInfo, unregisterMBean`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.apache.ignite.spi.IgniteSpi

      `getName, getNodeAttributes, onClientDisconnected, onClientReconnected, onContextDestroyed, onContextInitialized`

- - ### Constructor Detail

    - #### LogExporterSpi

          public LogExporterSpi()

  - ### Method Detail

    - #### export

          public void export()

      Callback to do the export of metrics info. Method will be called into some Ignite managed thread each `PushMetricsExporterAdapter.getPeriod()` millisecond.
      Specified by:
        `export` in class `org.apache.ignite.internal.processors.metric.PushMetricsExporterAdapter`