|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFTContextStateListener
Receives notifications when a fault tolerant context changes state; transitioning into the active or stand-by state. Implementations should perform the necessary resource allocation/de-allocation for the FT context instance transitioning into either of these states.
A state listener should not make any assumptions that once in the active state, the context will not go into stand-by; the context may switch between these states.
FTContext
Method Summary | |
---|---|
void |
didActivate()
Called after the fault tolerant context becomes the active context in the fault tolerant cluster. |
void |
didStandby()
Called after the fault tolerant context goes into stand-by mode. |
void |
willActivate()
Called before the fault tolerant context becomes the active context in the fault tolerant cluster. |
void |
willStandby()
Called before the fault tolerant context goes into stand-by mode. |
Methods inherited from interface fulmine.ILifeCycle |
---|
isActive, start |
Methods inherited from interface fulmine.IDestroyable |
---|
destroy |
Method Detail |
---|
void willActivate()
void didActivate()
void willStandby()
void didStandby()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |