コード例 #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());
  }
コード例 #3
0
  /** {@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());
  }
コード例 #4
0
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(
       GridNearAtomicUpdateRequest.class,
       this,
       "filter",
       Arrays.toString(filter),
       "parent",
       super.toString());
 }
コード例 #5
0
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(
       FinishMiniFuture.class,
       this,
       "done",
       isDone(),
       "cancelled",
       isCancelled(),
       "err",
       error());
 }
コード例 #6
0
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(
       GridDhtLocalPartition.class,
       this,
       "state",
       state(),
       "reservations",
       reservations(),
       "empty",
       map.isEmpty(),
       "createTime",
       U.format(createTime),
       "mapPubSize",
       mapPubSize);
 }
コード例 #7
0
  /** {@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());
  }
コード例 #8
0
  /** {@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
ファイル: VisorCache.java プロジェクト: simonliusm/ignite
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(VisorCache.class, this);
 }
コード例 #11
0
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(GridCacheSharedManagerAdapter.class, this);
 }
コード例 #12
0
 /** {@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());
 }
コード例 #14
0
 /** {@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);
 }
コード例 #17
0
 /** {@inheritDoc} */
 public String toString() {
   return S.toString(GridNearLockMapping.class, this);
 }
コード例 #18
0
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(MiniFuture.class, this);
 }
コード例 #19
0
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(CacheContinuousQueryHandler.class, this);
 }
コード例 #20
0
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(VisorNodeSuppressedErrorsJob.class, this);
 }
コード例 #21
0
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(GridCachePartitionedConcurrentMap.class, this);
 }
コード例 #22
0
 /** {@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
ファイル: HadoopTaskInfo.java プロジェクト: wmz7year/ignite
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(HadoopTaskInfo.class, this);
 }
コード例 #25
0
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(VisorCacheStoreConfiguration.class, this);
 }
コード例 #26
0
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(HadoopCounterAdapter.class, this);
 }
コード例 #27
0
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(CacheVersionedValue.class, this);
 }
コード例 #28
0
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(RandomEvictionPolicy.class, this);
 }
コード例 #29
0
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(AcknowledgeBuffer.class, this);
 }
コード例 #30
0
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return S.toString(IgfsClientListPathsCallable.class, this);
 }