return persistenceManagerScan;
}
private void scanPersistenceManagers() throws ItemStateException, RepositoryException {
for (int i = 0; i < pmList.length; i++) {
IterablePersistenceManager pm = pmList[i];
Iterator it = pm.getAllNodeIds(null, 0);
while (it.hasNext()) {
NodeId id = (NodeId) it.next();
if (callback != null) {
callback.beforeScanning(null);
}
try {
NodeState state = pm.load(id);
Set propertyNames = state.getPropertyNames();
for (Iterator nameIt = propertyNames.iterator(); nameIt
.hasNext();) {
Name name = (Name) nameIt.next();
PropertyId pid = new PropertyId(id, name);
PropertyState ps = pm.load(pid);
if (ps.getType() == PropertyType.BINARY) {
InternalValue[] values = ps.getValues();
for (int j = 0; j < values.length; j++) {
values[j].getBLOBFileValue().getLength();
}