ResourceFilter filter = ResourceFilterFactory
.getForRequest(Collections.singletonMap(
ResourceFilterFactory.LAST_MOD_PARAM, timestamp));
ResourceCollectionInfo changedFiles = new ResourceListing(
client.localCollection, filter);
return changedFiles.listResourceNames().isEmpty();
} catch (Exception e) {
return false;
}
}