/** * 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); } }
/** * 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); } }