Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
We need a CacheObserver for ShutdownAll.
There's chance that getRegion() returns null due to shutdownall. With that CacheObserver, it'll help the unit test.
An example is: GatewayReceiverCommand will find the region of events will be null when shutdownall is on-going. In this case, it will throw CacheDestroyedException (i.e. subclass of CancelException) instead of RegionDestroyedException.