/** * RemoteDebugger thread method. */ public final void run() { try { doLoad(cache); } catch (RemoteCacheException e) { LOG.warn("Error asynchronously performing bootstrap. The cause was: " + e.getMessage(), e); } finally { cache = null; } }
/** * Bootstraps the cache from a random CachePeer. Requests are done in chunks estimated at 5MB Serializable * size. This balances memory use on each end and network performance. * * @throws RemoteCacheException * if anything goes wrong with the remote call */ public void load(Ehcache cache) throws RemoteCacheException { if (asynchronous) { BootstrapThread bootstrapThread = new BootstrapThread(cache); bootstrapThread.start(); } else { doLoad(cache); } }
/** * RemoteDebugger thread method. */ public final void run() { try { doLoad(cache); } catch (RemoteCacheException e) { LOG.warn("Error asynchronously performing bootstrap. The cause was: " + e.getMessage(), e); } finally { cache = null; } }
/** * RemoteDebugger thread method. */ public final void run() { try { doLoad(cache); } catch (RemoteCacheException e) { LOG.warn("Error asynchronously performing bootstrap. The cause was: " + e.getMessage(), e); } finally { cache = null; } }
/** * RemoteDebugger thread method. */ public final void run() { try { doLoad(cache); } catch (RemoteCacheException e) { LOG.warn("Error asynchronously performing bootstrap. The cause was: " + e.getMessage(), e); } finally { cache = null; } }
/** * Bootstraps the cache from a random CachePeer. Requests are done in chunks estimated at 5MB Serializable * size. This balances memory use on each end and network performance. * * @throws RemoteCacheException * if anything goes wrong with the remote call */ public void load(Ehcache cache) throws RemoteCacheException { if (asynchronous) { BootstrapThread bootstrapThread = new BootstrapThread(cache); bootstrapThread.start(); } else { doLoad(cache); } }
/** * Bootstraps the cache from a random CachePeer. Requests are done in chunks estimated at 5MB Serializable * size. This balances memory use on each end and network performance. * * @throws RemoteCacheException * if anything goes wrong with the remote call */ public void load(Ehcache cache) throws RemoteCacheException { if (asynchronous) { BootstrapThread bootstrapThread = new BootstrapThread(cache); bootstrapThread.start(); } else { doLoad(cache); } }
/** * Bootstraps the cache from a random CachePeer. Requests are done in chunks estimated at 5MB Serializable * size. This balances memory use on each end and network performance. * * @throws RemoteCacheException * if anything goes wrong with the remote call */ public void load(Ehcache cache) throws RemoteCacheException { if (asynchronous) { BootstrapThread bootstrapThread = new BootstrapThread(cache); bootstrapThread.start(); } else { doLoad(cache); } }