use of org.infinispan.commands.topology.CacheAvailabilityUpdateCommand in project infinispan by infinispan.
the class LocalCacheStatus method setCacheAvailability.
@Override
public void setCacheAvailability(String cacheName, AvailabilityMode availabilityMode) {
ReplicableCommand command = new CacheAvailabilityUpdateCommand(cacheName, availabilityMode);
CompletionStages.join(helper.executeOnCoordinator(transport, command, getGlobalTimeout()));
}
Aggregations