/** {@inheritDoc} */ @SuppressWarnings({"unchecked"}) @Override public Map<GridRichNode, Collection<K>> mapKeysToNodes(Collection<? extends K> keys) { return Collections.singletonMap(ctx.localNode(), (Collection<K>) keys); }
/** {@inheritDoc} */ @Override public void setAttribute(Object key, Object val) throws GridException { A.notNull(key, "key"); setAttributes(Collections.singletonMap(key, val)); }