org.infinispan.cli.resources.CacheResource Maven / Gradle / Ivy
package org.infinispan.cli.resources;
import static org.infinispan.cli.util.TransformingIterable.SINGLETON_MAP_VALUE;
import java.io.IOException;
import java.util.Map;
import java.util.Optional;
import org.aesh.command.shell.Shell;
import org.infinispan.cli.logging.Messages;
import org.infinispan.cli.printers.CacheEntryRowPrinter;
import org.infinispan.cli.printers.PrettyPrinter;
import org.infinispan.cli.printers.PrettyRowPrinter;
import org.infinispan.cli.util.TransformingIterable;
/**
* @author Tristan Tarrant <[email protected]>
* @since 10.0
**/
public class CacheResource extends AbstractResource {
public CacheResource(CachesResource parent, String name) {
super(parent, name);
}
public Iterable getChildrenNames(int limit) throws IOException {
Iterable