Examples of processOnAllStores()


Examples of org.infinispan.persistence.manager.PersistenceManager.processOnAllStores()

                                throw new RuntimeException(e);
                            }
                        }
                    }
                };
                persistenceManager.processOnAllStores(AdvancedCacheLoader.KeyFilter.LOAD_ALL_FILTER, task, false, false);

            }
        }
    }
View Full Code Here

Examples of org.infinispan.persistence.manager.PersistenceManager.processOnAllStores()

                        if (!metadata.isUnused()) {
                            allBinaryUsedKeys.add(binaryKey);
                        }
                    }
                };
                persistenceManager.processOnAllStores(AdvancedCacheLoader.KeyFilter.LOAD_ALL_FILTER, task, false, false);
            }
        } catch (Exception ex) {
            throw new BinaryStoreException(JcrI18n.problemsGettingBinaryKeysFromBinaryStore.text(ex.getCause().getMessage()));
        }
        return allBinaryUsedKeys;
View Full Code Here

Examples of org.infinispan.persistence.manager.PersistenceManager.processOnAllStores()

      });
      interceptor.awaitCommandBlock();

      final AtomicReference<GroupKey> keyToActivate = new AtomicReference<>(null);
      PersistenceManager persistenceManager = TestingUtil.extractComponent(extractTargetCache(testCache), PersistenceManager.class);
      persistenceManager.processOnAllStores(KeyFilter.LOAD_ALL_FILTER, new AdvancedCacheLoader.CacheLoaderTask() {
         @Override
         public void processEntry(MarshalledEntry marshalledEntry, AdvancedCacheLoader.TaskContext taskContext) throws InterruptedException {
            keyToActivate.compareAndSet(null, (GroupKey) marshalledEntry.getKey());
            taskContext.stop();
         }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.