Class NoopEventStorageSpi
- java.lang.Object
- 
- org.apache.ignite.spi.IgniteSpiAdapter
- 
- org.apache.ignite.spi.eventstorage.NoopEventStorageSpi
 
 
- 
- All Implemented Interfaces:
- EventStorageSpi,- IgniteSpi
 
 @IgniteSpiMultipleInstancesSupport(true) public class NoopEventStorageSpi extends IgniteSpiAdapter implements EventStorageSpi No-op implementation ofEventStorageSpi.
- 
- 
Field Summary- 
Fields inherited from class org.apache.ignite.spi.IgniteSpiAdapterignite, igniteInstanceName, log
 
- 
 - 
Constructor SummaryConstructors Constructor Description NoopEventStorageSpi()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends Event>
 Collection<T>localEvents(IgnitePredicate<T> p)Queries locally-stored events only.voidrecord(Event evt)Records single event.voidspiStart(@Nullable String gridName)This method is called to start SPI.voidspiStop()This method is called to stop SPI.- 
Methods inherited from class org.apache.ignite.spi.IgniteSpiAdapteraddTimeoutObject, 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, onContextInitialized0, registerMBean, removeTimeoutObject, setName, started, startInfo, startStopwatch, stopInfo, unregisterMBean
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.ignite.spi.IgniteSpigetName, getNodeAttributes, onClientDisconnected, onClientReconnected, onContextDestroyed, onContextInitialized
 
- 
 
- 
- 
- 
Method Detail- 
localEventspublic <T extends Event> Collection<T> localEvents(IgnitePredicate<T> p) Queries locally-stored events only. Events could be filtered out by given predicate filter.- Specified by:
- localEventsin interface- EventStorageSpi
- Type Parameters:
- T- Type of events.
- Parameters:
- p- Event predicate filter.
- Returns:
- Collection of events.
 
 - 
recordpublic void record(Event evt) throws IgniteSpiException Records single event.- Specified by:
- recordin interface- EventStorageSpi
- Parameters:
- evt- Event that should be recorded.
- Throws:
- IgniteSpiException- If event recording failed for any reason.
 
 - 
spiStartpublic void spiStart(@Nullable @Nullable String gridName) throws IgniteSpiExceptionThis method is called to start SPI. After this method returns successfully kernel assumes that SPI is fully operational.- Specified by:
- spiStartin interface- IgniteSpi
- Parameters:
- gridName- Name of Ignite instance this SPI is being started for (- nullfor default Ignite instance).
- Throws:
- IgniteSpiException- Throws in case of any error during SPI start.
 
 - 
spiStoppublic void spiStop() throws IgniteSpiExceptionThis method is called to stop SPI. After this method returns kernel assumes that this SPI is finished and all resources acquired by it are released.Note that this method can be called at any point including during recovery of failed start. It should make no assumptions on what state SPI will be in when this method is called. - Specified by:
- spiStopin interface- IgniteSpi
- Throws:
- IgniteSpiException- Thrown in case of any error during SPI stop.
 
 
- 
 
-