Classes | Enumerations
GridGain.Lifecycle Namespace Reference

Lifecycle-related classes. More...

Classes

interface  ILifecycleBean
 A bean that reacts to grid lifecycle events defined in LifecycleEventType. Use this bean whenever you need to plug some custom logic before or after grid startup and stopping routines. More...
 

Enumerations

enum  LifecycleEventType { LifecycleEventType.BEFORE_GRID_START, LifecycleEventType.AFTER_GRID_START, LifecycleEventType.BEFORE_GRID_STOP, LifecycleEventType.AFTER_GRID_STOP }
 Grid lifecycle event types. These events are used to notify lifecycle beans about changes in grid lifecycle state. More...
 

Detailed Description

Enumeration Type Documentation

For more information and detailed examples refer to ILifecycleBean documentation.

Enumerator
BEFORE_GRID_START 

Invoked before grid startup routine. Grid is not initialized and cannot be used.

AFTER_GRID_START 

Invoked after grid startup is complete. Grid is fully initialized and fully functional.

BEFORE_GRID_STOP 

Invoked before grid stopping routine. Grid is fully functional at this point.

AFTER_GRID_STOP 

Invoked after grid had stopped. Grid is stopped and cannot be used.