本文整理汇总了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);
}
});
}
示例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);
}
});
}
示例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());
}
示例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()
);
}
示例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);
}
示例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);
}
示例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());
}
示例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());
}
示例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());
}
示例10: toString
import org.apache.ignite.internal.util.typedef.internal.S; //导入依赖的package包/类
/** {@inheritDoc} */
@Override public String toString() {
return S.toString(MatrixBlockKey.class, this);
}
示例11: toString
import org.apache.ignite.internal.util.typedef.internal.S; //导入依赖的package包/类
/** {@inheritDoc} */
@Override public String toString() {
return S.toString(VectorBlockKey.class, this);
}
示例12: toString
import org.apache.ignite.internal.util.typedef.internal.S; //导入依赖的package包/类
/** {@inheritDoc} */
@Override public String toString() {
return S.toString(SparseMatrixKey.class, this);
}
示例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());
}
示例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());
}
示例15: toString
import org.apache.ignite.internal.util.typedef.internal.S; //导入依赖的package包/类
/** {@inheritDoc} */
@Override public String toString() {
return S.toString(IgniteHadoopFileSystem.class, this);
}