コード例 #1
0
  /** {@inheritDoc} */
  @SuppressWarnings({"unchecked"})
  @Override
  public GridFuture<?> reloadAllAsync() {
    GridCompoundFuture fut = new GridCompoundFuture(ctx.kernalContext());

    fut.add(super.reloadAllAsync());
    fut.add(dht.reloadAllAsync());

    fut.markInitialized();

    return fut;
  }
コード例 #2
0
  /** {@inheritDoc} */
  @SuppressWarnings({"unchecked"})
  @Override
  public GridFuture<?> reloadAllAsync(
      @Nullable GridPredicate<? super GridCacheEntry<K, V>>[] filter) {
    GridCompoundFuture fut = new GridCompoundFuture(ctx.kernalContext());

    fut.add(super.reloadAllAsync());
    fut.add(dht.reloadAllAsync(filter));

    fut.markInitialized();

    return fut;
  }