public void notifyShutdown ( ) { // System.out.println(" AtomCache got notify shutdown.."); if ( pdpprovider != null ) { if ( pdpprovider instanceof RemotePDPProvider ) { RemotePDPProvider remotePDP = ( RemotePDPProvider ) pdpprovider ; remotePDP . flushCache ( ) ; } } // todo: use a SCOP implementation that is backed by SerializableCache ScopDatabase scopInstallation = ScopFactory . getSCOP ( ) ; if ( scopInstallation != null ) { if ( scopInstallation instanceof CachedRemoteScopInstallation ) { CachedRemoteScopInstallation cacheScop = ( CachedRemoteScopInstallation ) scopInstallation ; cacheScop . flushCache ( ) ; } } }
Send a signal to the cache that the system is shutting down . Notifies underlying SerializableCache instances to flush themselves ...