|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IShutdownObservable
ShutdownObservers can observer ShutdownObservable objects. The CacheManager is the primary observable that this is intended for.
Most shutdown operations will occur outside this framework for now. The initial goal is to allow background threads that are not reachable through any reference that the cahe manager maintains to be killed on shutdown.
Perhaps the composite cache itself should be the observable object. It doesn't make much of a difference. There are some problems with region by region shutdown. Some auxiliaries are glocal. They will need to track when every region has shutdown before doing things like closing the socket with a lateral.
Method Summary | |
---|---|
void |
deregisterShutdownObserver(IShutdownObserver observer)
Deregisters the observer with the observable. |
void |
registerShutdownObserver(IShutdownObserver observer)
Registers an observer with the observable object. |
Method Detail |
---|
void registerShutdownObserver(IShutdownObserver observer)
observer
- void deregisterShutdownObserver(IShutdownObserver observer)
observer
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |