/** * Does the actual RMI remote call. * <p> * If a Throwable occurs a SEVERE log message will be logged, but attempts to replicate to the other * peers will continue. */ protected static void replicateRemovalNotification(Ehcache cache, Serializable key) throws RemoteCacheException { List cachePeers = listRemoteCachePeers(cache); for (Object cachePeer1 : cachePeers) { CachePeer cachePeer = (CachePeer) cachePeer1; try { cachePeer.remove(key); } catch (Throwable t) { LOG.error("Exception on replication of removeNotification. " + t.getMessage() + ". Continuing...", t); } } }
/** * Does the actual RMI remote call. * <p> * If a Throwable occurs a SEVERE log message will be logged, but attempts to replicate to the other * peers will continue. */ protected static void replicateRemovalNotification(Ehcache cache, Serializable key) throws RemoteCacheException { List cachePeers = listRemoteCachePeers(cache); for (Object cachePeer1 : cachePeers) { CachePeer cachePeer = (CachePeer) cachePeer1; try { cachePeer.remove(key); } catch (Throwable t) { LOG.error("Exception on replication of removeNotification. " + t.getMessage() + ". Continuing...", t); } } }
/** * Does the actual RMI remote call. * <p/> * If a Throwable occurs a SEVERE log message will be logged, but attempts to replicate to the other * peers will continue. */ protected static void replicateRemovalNotification(Ehcache cache, Serializable key) throws RemoteCacheException { List cachePeers = listRemoteCachePeers(cache); for (Object cachePeer1 : cachePeers) { CachePeer cachePeer = (CachePeer) cachePeer1; try { cachePeer.remove(key); } catch (Throwable t) { LOG.error("Exception on replication of removeNotification. " + t.getMessage() + ". Continuing...", t); } } }
/** * Does the actual RMI remote call. * <p/> * If a Throwable occurs a SEVERE log message will be logged, but attempts to replicate to the other * peers will continue. */ protected static void replicateRemovalNotification(Ehcache cache, Serializable key) throws RemoteCacheException { List cachePeers = listRemoteCachePeers(cache); for (Object cachePeer1 : cachePeers) { CachePeer cachePeer = (CachePeer) cachePeer1; try { cachePeer.remove(key); } catch (Throwable t) { LOG.error("Exception on replication of removeNotification. " + t.getMessage() + ". Continuing...", t); } } }