return new Availability(storageNode, inventoryManager.getCurrentAvailability(storageNode, false).forResource(storageNode.getId()));
}
private void executeAvailabilityScan() {
InventoryManager inventoryManager = PluginContainer.getInstance().getInventoryManager();
inventoryManager.executeAvailabilityScanImmediately(false, true);
}
private Resource findCassandraNode(Set<Resource> resources, String address) {
for (Resource resource : resources) {
if (isCassandraNode(resource.getResourceType()) &&