예제 #1
0
  /** {@inheritDoc} */
  @Override
  public GridFuture<?> addData(Map<K, V> entries) throws IllegalStateException {
    A.notNull(entries, "entries");

    return addData(entries.entrySet());
  }
예제 #2
0
 /** {@inheritDoc} */
 @Override
 public void setAttribute(Object key, @Nullable Object val) {
   attrs.put(key, val);
 }
예제 #3
0
 /** {@inheritDoc} */
 @SuppressWarnings("unchecked")
 @Override
 public <K, V> V getAttribute(K key) {
   return (V) attrs.get(key);
 }
 /** {@inheritDoc} */
 @SuppressWarnings({"unchecked"})
 @Override
 public <T> T attribute(String name) {
   return (T) attrs.get(name);
 }