Search in sources :

Example 1 with CacheShutdownRequestCommand

use of org.infinispan.commands.topology.CacheShutdownRequestCommand in project infinispan by infinispan.

the class LocalCacheStatus method cacheShutdown.

@Override
public void cacheShutdown(String name) {
    ReplicableCommand command = new CacheShutdownRequestCommand(name);
    CompletionStages.join(helper.executeOnCoordinator(transport, command, getGlobalTimeout()));
}
Also used : ReplicableCommand(org.infinispan.commands.ReplicableCommand) CacheShutdownRequestCommand(org.infinispan.commands.topology.CacheShutdownRequestCommand)

Aggregations

ReplicableCommand (org.infinispan.commands.ReplicableCommand)1 CacheShutdownRequestCommand (org.infinispan.commands.topology.CacheShutdownRequestCommand)1