示例#1
0
 /** {@inheritDoc} */
 @Override
 public Collection<UUID> getTopology() throws GridException {
   return F.nodeIds(ctx.topology().getTopology(this, ctx.discovery().allNodes()));
 }
示例#2
0
 /** {@inheritDoc} */
 @Override
 public boolean isTaskNode() {
   return taskNodeId.equals(ctx.discovery().localNode().id());
 }