use of org.apache.ignite.internal.visor.cache.index.IndexListTaskArg in project ignite by apache.
the class CacheIndexesList method execute.
/**
* {@inheritDoc}
*/
@Override
public Object execute(GridClientConfiguration clientCfg, Logger logger) throws Exception {
Set<IndexListInfoContainer> taskRes;
final UUID nodeId = args.nodeId;
IndexListTaskArg taskArg = new IndexListTaskArg(args.groupsRegEx, args.cachesRegEx, args.indexesRegEx);
try (GridClient client = Command.startClient(clientCfg)) {
taskRes = TaskExecutor.executeTaskByNameOnNode(client, "org.apache.ignite.internal.visor.cache.index.IndexListTask", taskArg, nodeId, clientCfg);
}
printIndexes(taskRes, logger);
return taskRes;
}
Aggregations