public interface LifeCycled
Cache or
CacheManager instances.| Modifier and Type | Method and Description |
|---|---|
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 |
void init() throws java.lang.Exception
Status.UNINITIALIZED to Status.AVAILABLE
java.lang.Exception - to veto transitionvoid close()
throws java.lang.Exception
Status.AVAILABLE to Status.UNINITIALIZED
java.lang.Exception - to veto transition