private void waitUntilBulkLoadComplete() {
   if (configuration.getCacheType().equals("ehcache") && ehcacheBean != null) {
     ehcacheBean.setBulkLoad(false);
     log.info("Waiting for all nodes to be coherent.");
     ehcacheBean.waitUntilBulkLoadComplete();
   }
 }
 private void setBulkLoad(boolean bulkLoad) {
   if (configuration.getCacheType().equals("ehcache") && ehcacheBean != null)
     ehcacheBean.setBulkLoad(bulkLoad);
 }