|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ehcache.core.spi.LifeCycledAdapter
public abstract class LifeCycledAdapter
Adapter class for LifeCycled in case you do not need to implement all methods from the interface.
| Constructor Summary | |
|---|---|
LifeCycledAdapter()
|
|
| Method Summary | |
|---|---|
void |
close()
Callback used by internal life cycling infrastructure when transitioning from Status.AVAILABLE to Status.UNINITIALIZED
Throwing an Exception here, will fail the transition |
void |
init()
Callback used by internal life cycling infrastructure when transitioning from Status.UNINITIALIZED to Status.AVAILABLE
Throwing an Exception here, will fail the transition |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LifeCycledAdapter()
| Method Detail |
|---|
public void init()
throws java.lang.Exception
Status.UNINITIALIZED to Status.AVAILABLE
init in interface LifeCycledjava.lang.Exception - to veto transition
public void close()
throws java.lang.Exception
Status.AVAILABLE to Status.UNINITIALIZED
close in interface LifeCycledjava.lang.Exception - to veto transition
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||