示例#1
0
 @Stop
 private void stop() {
   if (clustered) {
     notifier.removeListener(cleanupService);
     cm.removeListener(cleanupService);
     cleanupService.stop();
     cm.removeListener(this);
     currentViewId = CACHE_STOPPED_VIEW_ID; // indicate that the cache has stopped
   }
   shutDownGracefully();
 }
 @Stop
 @SuppressWarnings("unused")
 private void stop() {
   if (clustered) {
     notifier.removeListener(cleanupService);
     cleanupService.stop();
     notifier.removeListener(this);
     currentTopologyId = CACHE_STOPPED_TOPOLOGY_ID; // indicate that the cache has stopped
   }
   shutDownGracefully();
 }