本文整理汇总了Java中org.apache.ignite.internal.util.typedef.internal.U.writeCollection方法的典型用法代码示例。如果您正苦于以下问题:Java U.writeCollection方法的具体用法?Java U.writeCollection怎么用?Java U.writeCollection使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.apache.ignite.internal.util.typedef.internal.U
的用法示例。
在下文中一共展示了U.writeCollection方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: writeExternalData
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void writeExternalData(ObjectOutput out) throws IOException {
U.writeString(out, gridName);
out.writeLong(topVer);
out.writeBoolean(taskMonitoringEnabled);
U.writeCollection(out, evts);
out.writeObject(evtsEx);
U.writeCollection(out, memoryMetrics);
out.writeObject(memoryMetricsEx);
U.writeCollection(out, caches);
out.writeObject(cachesEx);
U.writeCollection(out, igfss);
U.writeCollection(out, igfsEndpoints);
out.writeObject(igfssEx);
out.writeLong(errCnt);
out.writeObject(readyTopVer);
out.writeBoolean(hasPendingExchange);
out.writeObject(persistenceMetrics);
out.writeObject(persistenceMetricsEx);
out.writeDouble(rebalance);
}
示例2: writeExternalData
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void writeExternalData(ObjectOutput out) throws IOException {
U.writeString(out, name);
out.writeLong(id);
U.writeString(out, state.toString());
out.writeObject(lock);
U.writeString(out, lockName);
out.writeLong(lockOwnerId);
U.writeString(out, lockOwnerName);
out.writeBoolean(inNative);
out.writeBoolean(suspended);
out.writeLong(waitedCnt);
out.writeLong(waitedTime);
out.writeLong(blockedCnt);
out.writeLong(blockedTime);
U.writeCollection(out, stackTrace);
U.writeCollection(out, locks);
U.writeCollection(out, lockedMonitors);
}
示例3: writeExternalData
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void writeExternalData(ObjectOutput out) throws IOException {
out.writeBoolean(active);
U.writeMap(out, unhandledEx);
U.writeMap(out, gridNames);
U.writeMap(out, topVersions);
U.writeMap(out, taskMonitoringEnabled);
U.writeMap(out, errCnts);
U.writeCollection(out, evts);
U.writeMap(out, evtsEx);
U.writeMap(out, memoryMetrics);
U.writeMap(out, memoryMetricsEx);
U.writeMap(out, caches);
U.writeMap(out, cachesEx);
U.writeMap(out, igfss);
U.writeMap(out, igfsEndpoints);
U.writeMap(out, igfssEx);
U.writeMap(out, readyTopVers);
U.writeMap(out, pendingExchanges);
U.writeMap(out, persistenceMetrics);
U.writeMap(out, persistenceMetricsEx);
U.writeMap(out, rebalance);
}
示例4: writeExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void writeExternal(ObjectOutput out) throws IOException {
U.writeUuid(out, id);
U.writeMap(out, attrs);
U.writeCollection(out, addrs);
U.writeCollection(out, hostNames);
out.writeInt(discPort);
// Cluster metrics
byte[] mtr = null;
ClusterMetrics metrics = this.metrics;
if (metrics != null)
mtr = ClusterMetricsSnapshot.serialize(metrics);
U.writeByteArray(out, mtr);
// Cache metrics
Map<Integer, CacheMetrics> cacheMetrics = this.cacheMetrics;
out.writeInt(cacheMetrics == null ? 0 : cacheMetrics.size());
if (!F.isEmpty(cacheMetrics))
for (Map.Entry<Integer, CacheMetrics> m : cacheMetrics.entrySet()) {
out.writeInt(m.getKey());
out.writeObject(m.getValue());
}
out.writeLong(order);
out.writeLong(intOrder);
out.writeObject(ver);
U.writeUuid(out, clientRouterNodeId);
}
示例5: writeExternalData
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void writeExternalData(ObjectOutput out) throws IOException {
out.writeLong(sysRegionInitSize);
out.writeLong(sysRegionMaxSize);
out.writeInt(pageSize);
out.writeInt(concLvl);
out.writeObject(dfltDataRegCfg);
U.writeCollection(out, dataRegCfgs);
U.writeString(out, storagePath);
out.writeLong(checkpointFreq);
out.writeLong(lockWaitTime);
out.writeLong(0);
out.writeInt(checkpointThreads);
U.writeEnum(out, checkpointWriteOrder);
out.writeInt(walHistSize);
out.writeInt(walSegments);
out.writeInt(walSegmentSize);
U.writeString(out, walPath);
U.writeString(out, walArchivePath);
out.writeBoolean(metricsEnabled);
U.writeEnum(out, walMode);
out.writeInt(walTlbSize);
out.writeLong(walFlushFreq);
out.writeLong(walFsyncDelay);
out.writeInt(walRecordIterBuffSize);
out.writeBoolean(alwaysWriteFullPages);
U.writeString(out, fileIOFactory);
out.writeInt(metricsSubIntervalCount);
out.writeLong(metricsRateTimeInterval);
out.writeLong(walAutoArchiveAfterInactivity);
out.writeBoolean(writeThrottlingEnabled);
}
示例6: writeExternalData
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void writeExternalData(ObjectOutput out) throws IOException {
U.writeString(out, dbSchema);
U.writeString(out, dbTbl);
U.writeString(out, keyType);
U.writeString(out, valType);
U.writeCollection(out, keyFields);
U.writeCollection(out, valFields);
}
示例7: writeExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void writeExternal(ObjectOutput out) throws IOException {
out.writeBoolean(last);
out.writeLong(qryId);
U.writeCollection(out, items);
U.writeCollection(out, fieldsMeta);
}
示例8: writeExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void writeExternal(ObjectOutput out) throws IOException {
U.writeString(out, cacheName);
U.writeCollection(out, types);
U.writeMap(out, keyClasses);
U.writeMap(out, valClasses);
U.writeMap(out, fields);
U.writeMap(out, indexes);
}
示例9: writeExternalData
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void writeExternalData(ObjectOutput out) throws IOException {
U.writeUuid(out, nid);
U.writeString(out, filePath);
out.writeLong(fileSize);
out.writeLong(lastModified);
U.writeCollection(out, lines);
out.writeInt(lineNum);
out.writeInt(lineCnt);
U.writeString(out, encoding);
}
示例10: writeExternalData
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void writeExternalData(ObjectOutput out) throws IOException {
U.writeString(out, idMapper);
U.writeString(out, nameMapper);
U.writeString(out, serializer);
U.writeCollection(out, typeCfgs);
out.writeBoolean(compactFooter);
}
示例11: writeExternalData
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void writeExternalData(ObjectOutput out) throws IOException {
U.writeString(out, keyType);
U.writeString(out, valType);
U.writeCollection(out, keyFields);
IgfsUtils.writeStringMap(out, qryFlds);
U.writeMap(out, aliases);
U.writeCollection(out, grps);
U.writeString(out, tblName);
U.writeString(out, keyFieldName);
U.writeString(out, valFieldName);
}
示例12: writeExternalData
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void writeExternalData(ObjectOutput out) throws IOException {
U.writeCollection(out, cacheNames);
}
示例13: writeValue
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void writeValue(ObjectOutput out) throws IOException {
U.writeCollection(out, evts);
}
示例14: writeExternalData
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void writeExternalData(ObjectOutput out) throws IOException {
U.writeCollection(out, cacheNames);
out.writeLong(ttl);
U.writeArray(out, ldrArgs);
}
示例15: writeExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void writeExternal(ObjectOutput out) throws IOException {
U.writeCollection(out, updates);
}