Class LifecycleExample.LifecycleExampleBean
- java.lang.Object
-
- org.apache.ignite.examples.misc.lifecycle.LifecycleExample.LifecycleExampleBean
-
- All Implemented Interfaces:
LifecycleBean
- Enclosing class:
- LifecycleExample
public static class LifecycleExample.LifecycleExampleBean extends java.lang.Object implements LifecycleBean
SimpleLifecycleBeanimplementation that outputs event type when it is occurred.
-
-
Constructor Summary
Constructors Constructor Description LifecycleExampleBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisStarted()voidonLifecycleEvent(LifecycleEventType evt)
-
-
-
Method Detail
-
onLifecycleEvent
public void onLifecycleEvent(LifecycleEventType evt)
- Specified by:
onLifecycleEventin interfaceLifecycleBean
-
isStarted
public boolean isStarted()
- Returns:
Trueif ignite has been started.
-
-