/**
   * This method has poor performance, so use with care. It is currently only used by {@code DGC}.
   *
   * @return Remote candidates.
   */
  public Collection<GridCacheMvccCandidate> remoteCandidates() {
    Collection<GridCacheMvccCandidate> rmtCands = new LinkedList<>();

    for (GridDistributedCacheEntry entry : locked()) rmtCands.addAll(entry.remoteMvccSnapshot());

    return rmtCands;
  }