public interface IShutdownObservable
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 cache 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 local. They will need to track when every region has shutdown before doing things like closing the socket with a lateral.
Modifier and Type | Method and Description |
---|---|
void |
deregisterShutdownObserver(IShutdownObserver observer)
Deregister the observer with the observable.
|
void |
registerShutdownObserver(IShutdownObserver observer)
Registers an observer with the observable object.
|
void registerShutdownObserver(IShutdownObserver observer)
observer
- void deregisterShutdownObserver(IShutdownObserver observer)
observer
- Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.