use of org.apache.ignite.internal.commandline.cache.check_indexes_inline_size.CheckIndexInlineSizesResult in project ignite by apache.
the class CheckIndexInlineSizes method execute.
/**
* {@inheritDoc}
*/
@Override
public Object execute(GridClientConfiguration clientCfg, Logger log) throws Exception {
try (GridClient client = Command.startClient(clientCfg)) {
Set<GridClientNode> serverNodes = client.compute().nodes().stream().filter(SRV_NODES).collect(toSet());
Collection<UUID> serverNodeIds = F.transform(serverNodes, GridClientNode::nodeId);
CheckIndexInlineSizesResult res = client.compute().projection(serverNodes).execute(CheckIndexInlineSizesTask.class.getName(), new VisorTaskArgument<>(serverNodeIds, false));
analyzeResults(log, res);
}
return null;
}
Aggregations