當前位置: 首頁>>代碼示例>>Java>>正文


Java S類代碼示例

本文整理匯總了Java中org.apache.ignite.internal.util.typedef.internal.S的典型用法代碼示例。如果您正苦於以下問題:Java S類的具體用法?Java S怎麽用?Java S使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


S類屬於org.apache.ignite.internal.util.typedef.internal包,在下文中一共展示了S類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: removeAll0

import org.apache.ignite.internal.util.typedef.internal.S; //導入依賴的package包/類
/**
 * @param keys Keys.
 * @throws IgniteCheckedException If failed.
 */
protected void removeAll0(final Collection<? extends K> keys) throws IgniteCheckedException {
    syncOp(new SyncInOp(keys.size() == 1) {
        @Override public void inOp(GridNearTxLocal tx) throws IgniteCheckedException {
            tx.removeAllAsync(ctx,
                null,
                keys,
                /*retval*/false,
                null,
                /*singleRmv*/false).get();
        }

        @Override public String toString() {
            return S.toString("removeAll",
                "keys", keys, true);
        }
    });
}
 
開發者ID:apache,項目名稱:ignite,代碼行數:22,代碼來源:GridCacheAdapter.java

示例2: getAndPutAsync0

import org.apache.ignite.internal.util.typedef.internal.S; //導入依賴的package包/類
/**
 * @param key Key.
 * @param val Value.
 * @param filter Optional filter.
 * @return Put operation future.
 */
public IgniteInternalFuture<V> getAndPutAsync0(final K key,
    final V val,
    @Nullable final CacheEntryPredicate filter) {
    return asyncOp(new AsyncOp<V>() {
        @Override public IgniteInternalFuture<V> op(GridNearTxLocal tx, AffinityTopologyVersion readyTopVer) {
            return tx.putAsync(ctx, readyTopVer, key, val, true, filter)
                .chain((IgniteClosure<IgniteInternalFuture<GridCacheReturn>, V>)RET2VAL);
        }

        @Override public String toString() {
            return S.toString("putAsync",
                "key", key, true,
                "val", val, true,
                "filter", filter, false);
        }
    });
}
 
開發者ID:apache,項目名稱:ignite,代碼行數:24,代碼來源:GridCacheAdapter.java

示例3: toString

import org.apache.ignite.internal.util.typedef.internal.S; //導入依賴的package包/類
/** {@inheritDoc} */
@Override public String toString() {
    StringBuilder flags = new StringBuilder();

    if (checkCommitted())
        appendFlag(flags, "checkComm");

    return S.toString(GridDhtTxFinishResponse.class, this,
        "flags", flags.toString(),
        "super", super.toString());
}
 
開發者ID:apache,項目名稱:ignite,代碼行數:12,代碼來源:GridDhtTxFinishResponse.java

示例4: toString

import org.apache.ignite.internal.util.typedef.internal.S; //導入依賴的package包/類
/** {@inheritDoc} */
@Override public String toString() {
    return S.toString(GridCacheMultiTxFuture.class, this,
        "remaining", F.viewReadOnly(remainingTxs, CU.<K, V>tx2xidVersion()),
        "super", super.toString()
    );
}
 
開發者ID:apache,項目名稱:ignite,代碼行數:8,代碼來源:GridCacheMultiTxFuture.java

示例5: atomicStamped

import org.apache.ignite.internal.util.typedef.internal.S; //導入依賴的package包/類
/** {@inheritDoc} */
@Nullable @Override public <T, S> IgniteAtomicStamped<T, S> atomicStamped(String name,
    @Nullable T initVal,
    @Nullable S initStamp,
    boolean create)
{
    checkIgnite();

    return g.atomicStamped(name, initVal, initStamp, create);
}
 
開發者ID:apache,項目名稱:ignite,代碼行數:11,代碼來源:IgniteSpringBean.java

示例6: toString

import org.apache.ignite.internal.util.typedef.internal.S; //導入依賴的package包/類
/** {@inheritDoc} */
@Override public String toString() {
    return S.toString(S.INCLUDE_SENSITIVE ? getClass().getSimpleName() : "KeyCacheObject",
        "part", part, true,
        "val", val, true,
        "hasValBytes", valBytes != null, false);
}
 
開發者ID:apache,項目名稱:ignite,代碼行數:8,代碼來源:KeyCacheObjectImpl.java

示例7: toString

import org.apache.ignite.internal.util.typedef.internal.S; //導入依賴的package包/類
/** {@inheritDoc} */
@Override public String toString() {
    return S.toString(TaskEvent.class, this,
        "nodeId8", U.id8(node().id()),
        "msg", message(),
        "type", name(),
        "tstamp", timestamp());
}
 
開發者ID:apache,項目名稱:ignite,代碼行數:9,代碼來源:TaskEvent.java

示例8: toString

import org.apache.ignite.internal.util.typedef.internal.S; //導入依賴的package包/類
/** {@inheritDoc} */
@Override public String toString() {
    Collection<String> futs = F.viewReadOnly(futures(), new C1<IgniteInternalFuture<?>, String>() {
        @Override public String apply(IgniteInternalFuture<?> f) {
            return f.toString();
        }
    });

    return S.toString(GridDhtForceKeysFuture.class, this,
        "innerFuts", futs,
        "super", super.toString());
}
 
開發者ID:apache,項目名稱:ignite,代碼行數:13,代碼來源:GridDhtForceKeysFuture.java

示例9: toString

import org.apache.ignite.internal.util.typedef.internal.S; //導入依賴的package包/類
/** {@inheritDoc} */
@Override public String toString() {
    return S.toString(GridDhtPartitionSupplyMessage.class, this,
        "size", size(),
        "parts", infos().keySet(),
        "super", super.toString());
}
 
開發者ID:apache,項目名稱:ignite,代碼行數:8,代碼來源:GridDhtPartitionSupplyMessage.java

示例10: toString

import org.apache.ignite.internal.util.typedef.internal.S; //導入依賴的package包/類
/** {@inheritDoc} */
@Override public String toString() {
    return S.toString(MatrixBlockKey.class, this);
}
 
開發者ID:Luodian,項目名稱:Higher-Cloud-Computing-Project,代碼行數:5,代碼來源:MatrixBlockKey.java

示例11: toString

import org.apache.ignite.internal.util.typedef.internal.S; //導入依賴的package包/類
/** {@inheritDoc} */
@Override public String toString() {
    return S.toString(VectorBlockKey.class, this);
}
 
開發者ID:Luodian,項目名稱:Higher-Cloud-Computing-Project,代碼行數:5,代碼來源:VectorBlockKey.java

示例12: toString

import org.apache.ignite.internal.util.typedef.internal.S; //導入依賴的package包/類
/** {@inheritDoc} */
@Override public String toString() {
    return S.toString(SparseMatrixKey.class, this);
}
 
開發者ID:Luodian,項目名稱:Higher-Cloud-Computing-Project,代碼行數:5,代碼來源:SparseMatrixKey.java

示例13: toString

import org.apache.ignite.internal.util.typedef.internal.S; //導入依賴的package包/類
/**
 * {@inheritDoc}
 */
@Override
public String toString() {
    return S.toString(KubernetesPodIpFinder.class, this, "super", super.toString());
}
 
開發者ID:pires,項目名稱:apache-ignite-discovery-kubernetes,代碼行數:8,代碼來源:KubernetesPodIpFinder.java

示例14: toString

import org.apache.ignite.internal.util.typedef.internal.S; //導入依賴的package包/類
/** {@inheritDoc} */
@Override public String toString() {
    return S.toString(ReplaceRecord.class, this, "super", super.toString());
}
 
開發者ID:apache,項目名稱:ignite,代碼行數:5,代碼來源:ReplaceRecord.java

示例15: toString

import org.apache.ignite.internal.util.typedef.internal.S; //導入依賴的package包/類
/** {@inheritDoc} */
@Override public String toString() {
    return S.toString(IgniteHadoopFileSystem.class, this);
}
 
開發者ID:apache,項目名稱:ignite,代碼行數:5,代碼來源:IgniteHadoopFileSystem.java


注:本文中的org.apache.ignite.internal.util.typedef.internal.S類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。