当前位置: 首页>>代码示例>>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;未经允许,请勿转载。