当前位置: 首页>>代码示例>>Java>>正文


Java U.writeCollection方法代码示例

本文整理汇总了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);
}
 
开发者ID:apache,项目名称:ignite,代码行数:22,代码来源:VisorNodeDataCollectorJobResult.java

示例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);
}
 
开发者ID:apache,项目名称:ignite,代码行数:20,代码来源:VisorThreadInfo.java

示例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);
}
 
开发者ID:apache,项目名称:ignite,代码行数:24,代码来源:VisorNodeDataCollectorTaskResult.java

示例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);
}
 
开发者ID:apache,项目名称:ignite,代码行数:35,代码来源:TcpDiscoveryNode.java

示例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);
}
 
开发者ID:apache,项目名称:ignite,代码行数:33,代码来源:VisorDataStorageConfiguration.java

示例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);
}
 
开发者ID:apache,项目名称:ignite,代码行数:10,代码来源:VisorCacheJdbcType.java

示例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);
}
 
开发者ID:apache,项目名称:ignite,代码行数:8,代码来源:CacheQueryResult.java

示例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);
}
 
开发者ID:apache,项目名称:ignite,代码行数:10,代码来源:GridCacheQueryManager.java

示例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);
}
 
开发者ID:apache,项目名称:ignite,代码行数:12,代码来源:VisorLogSearchResult.java

示例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);
}
 
开发者ID:apache,项目名称:ignite,代码行数:9,代码来源:VisorBinaryConfiguration.java

示例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);
}
 
开发者ID:apache,项目名称:ignite,代码行数:13,代码来源:VisorQueryEntity.java

示例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);
}
 
开发者ID:apache,项目名称:ignite,代码行数:5,代码来源:VisorCacheRebalanceTaskArg.java

示例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);
}
 
开发者ID:apache,项目名称:ignite,代码行数:5,代码来源:HadoopPerformanceCounter.java

示例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);
}
 
开发者ID:apache,项目名称:ignite,代码行数:7,代码来源:VisorCacheLoadTaskArg.java

示例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);
}
 
开发者ID:apache,项目名称:ignite,代码行数:5,代码来源:WebSessionListener.java


注:本文中的org.apache.ignite.internal.util.typedef.internal.U.writeCollection方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。