Пример #1
0
    /** {@inheritDoc} */
    @Override
    public String toString() {
      if (!pendingLocks.isEmpty()) {
        Map<GridCacheVersion, IgniteInternalTx> txs = new HashMap<>(1, 1.0f);

        for (Collection<GridCacheMvccCandidate> cands : pendingLocks.values())
          for (GridCacheMvccCandidate c : cands) txs.put(c.version(), cctx.tm().tx(c.version()));

        return S.toString(
            FinishLockFuture.class, this, "txs=" + txs + ", super=" + super.toString());
      } else return S.toString(FinishLockFuture.class, this, super.toString());
    }
Пример #2
0
  /** {@inheritDoc} */
  @Override
  public String toString() {
    Collection<String> futs =
        F.viewReadOnly(
            futures(),
            new C1<IgniteInternalFuture<?>, String>() {
              @SuppressWarnings("unchecked")
              @Override
              public String apply(IgniteInternalFuture<?> f) {
                return "[node="
                    + ((MiniFuture) f).node().id()
                    + ", loc="
                    + ((MiniFuture) f).node().isLocal()
                    + ", done="
                    + f.isDone()
                    + "]";
              }
            });

    return S.toString(
        GridDhtTxFinishFuture.class,
        this,
        "xidVer",
        tx.xidVersion(),
        "innerFuts",
        futs,
        "super",
        super.toString());
  }
  /** {@inheritDoc} */
  @Override
  public String toString() {
    Collection<String> futs =
        F.viewReadOnly(
            futures(),
            new C1<IgniteInternalFuture<?>, String>() {
              @SuppressWarnings("unchecked")
              @Override
              public String apply(IgniteInternalFuture<?> f) {
                if (f.getClass() == FinishMiniFuture.class) {
                  FinishMiniFuture fut = (FinishMiniFuture) f;

                  ClusterNode node = fut.node();

                  if (node != null) {
                    return "FinishFuture[node="
                        + node.id()
                        + ", loc="
                        + node.isLocal()
                        + ", done="
                        + fut.isDone()
                        + ']';
                  } else {
                    return "FinishFuture[node=null, done=" + fut.isDone() + ']';
                  }
                } else if (f.getClass() == CheckBackupMiniFuture.class) {
                  CheckBackupMiniFuture fut = (CheckBackupMiniFuture) f;

                  ClusterNode node = fut.node();

                  if (node != null) {
                    return "CheckBackupFuture[node="
                        + node.id()
                        + ", loc="
                        + node.isLocal()
                        + ", done="
                        + f.isDone()
                        + "]";
                  } else {
                    return "CheckBackupFuture[node=null, done=" + f.isDone() + "]";
                  }
                } else if (f.getClass() == CheckRemoteTxMiniFuture.class) {
                  CheckRemoteTxMiniFuture fut = (CheckRemoteTxMiniFuture) f;

                  return "CheckRemoteTxMiniFuture[nodes="
                      + fut.nodes()
                      + ", done="
                      + f.isDone()
                      + "]";
                } else return "[loc=true, done=" + f.isDone() + "]";
              }
            });

    return S.toString(
        GridNearTxFinishFuture.class, this, "innerFuts", futs, "super", super.toString());
  }
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(
       GridNearAtomicUpdateRequest.class,
       this,
       "filter",
       Arrays.toString(filter),
       "parent",
       super.toString());
 }
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(
       FinishMiniFuture.class,
       this,
       "done",
       isDone(),
       "cancelled",
       isCancelled(),
       "err",
       error());
 }
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(
       GridDhtLocalPartition.class,
       this,
       "state",
       state(),
       "reservations",
       reservations(),
       "empty",
       map.isEmpty(),
       "createTime",
       U.format(createTime),
       "mapPubSize",
       mapPubSize);
 }
  /** {@inheritDoc} */
  @Override
  public String toString() {
    ClusterNode oldestNode = this.oldestNode.get();

    return S.toString(
        GridDhtPartitionsExchangeFuture.class,
        this,
        "oldest",
        oldestNode == null ? "null" : oldestNode.id(),
        "oldestOrder",
        oldestNode == null ? "null" : oldestNode.order(),
        "evtLatch",
        evtLatch == null ? "null" : evtLatch.getCount(),
        "remaining",
        remaining(),
        "super",
        super.toString());
  }
  /** {@inheritDoc} */
  @Override
  public String toString() {
    Collection<String> futs =
        F.viewReadOnly(
            futures(),
            new C1<IgniteInternalFuture<?>, String>() {
              @SuppressWarnings("unchecked")
              @Override
              public String apply(IgniteInternalFuture<?> f) {
                if (isMini(f)) {
                  return "[node="
                      + ((MiniFuture) f).node().id()
                      + ", loc="
                      + ((MiniFuture) f).node().isLocal()
                      + ", done="
                      + f.isDone()
                      + "]";
                } else return "[loc=true, done=" + f.isDone() + "]";
              }
            });

    return S.toString(
        GridPartitionedGetFuture.class, this, "innerFuts", futs, "super", super.toString());
  }
Пример #9
0
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(IgfsThreadFactory.class, this);
 }
Пример #10
0
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(VisorCache.class, this);
 }
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(GridCacheSharedManagerAdapter.class, this);
 }
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(Person.class, this);
 }
Пример #13
0
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(LruEvictionPolicy.class, this, "size", queue.sizex());
 }
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(IgfsFragmentizerRequest.class, this);
 }
Пример #15
0
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(IgniteHadoopFileSystem.class, this);
 }
Пример #16
0
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(GridQueryRequest.class, this);
 }
 /** {@inheritDoc} */
 public String toString() {
   return S.toString(GridNearLockMapping.class, this);
 }
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(MiniFuture.class, this);
 }
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(CacheContinuousQueryHandler.class, this);
 }
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(VisorNodeSuppressedErrorsJob.class, this);
 }
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(GridCachePartitionedConcurrentMap.class, this);
 }
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(GridDhtAtomicUpdateFuture.class, this);
 }
Пример #23
0
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(CheckRemoteTxMiniFuture.class, this);
 }
Пример #24
0
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(HadoopTaskInfo.class, this);
 }
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(VisorCacheStoreConfiguration.class, this);
 }
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(HadoopCounterAdapter.class, this);
 }
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(CacheVersionedValue.class, this);
 }
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(RandomEvictionPolicy.class, this);
 }
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(AcknowledgeBuffer.class, this);
 }
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(IgfsClientListPathsCallable.class, this);
 }