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


Java U.readCollection方法代码示例

本文整理汇总了Java中org.apache.ignite.internal.util.typedef.internal.U.readCollection方法的典型用法代码示例。如果您正苦于以下问题:Java U.readCollection方法的具体用法?Java U.readCollection怎么用?Java U.readCollection使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.apache.ignite.internal.util.typedef.internal.U的用法示例。


在下文中一共展示了U.readCollection方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: readExternal

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    jobId = new HadoopJobId();
    jobId.readExternal(in);

    jobInfo = (HadoopJobInfo)in.readObject();
    tasks = U.readCollection(in);
}
 
开发者ID:apache,项目名称:ignite,代码行数:9,代码来源:HadoopTaskExecutionRequest.java

示例2: readValue

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void readValue(ObjectInput in) throws IOException {
    try {
        evts = U.readCollection(in);
    }
    catch (ClassNotFoundException e) {
        throw new IOException(e);
    }
}
 
开发者ID:apache,项目名称:ignite,代码行数:10,代码来源:HadoopPerformanceCounter.java

示例3: readExternal

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    igfsName = U.readString(in);
    paths = U.readCollection(in);

    recRslvr = (IgfsRecordResolver)in.readObject();
    skipNonExistentFiles = in.readBoolean();
    maxRangeLen = in.readLong();
    usrArg = (T)in.readObject();
}
 
开发者ID:apache,项目名称:ignite,代码行数:11,代码来源:IgfsTaskArgsImpl.java

示例4: readExternal

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    tcpPort = in.readInt();
    in.readInt(); // Jetty port.

    String dfltCacheMode = U.readString(in);

    attrs = U.readMap(in);

    Map<String, String> cacheMap = U.readMap(in);

    if (cacheMap == null && dfltCacheMode != null) {
        cacheMap = U.newHashMap(1);

        cacheMap.put(null, dfltCacheMode);
    }

    if (cacheMap != null) {
        caches = new ArrayList<>(cacheMap.size());

        for (Map.Entry<String, String> e : cacheMap.entrySet())
            caches.add(new GridClientCacheBean(e.getKey(), GridClientCacheMode.valueOf(e.getValue()), null));
    }

    tcpAddrs = U.readCollection(in);
    tcpHostNames = U.readCollection(in);
    U.readCollection(in); // Jetty addresses.
    U.readCollection(in); // Jetty host names.

    nodeId = U.readUuid(in);

    consistentId = in.readObject();
    metrics = (GridClientNodeMetricsBean)in.readObject();

    order = in.readLong();
}
 
开发者ID:apache,项目名称:ignite,代码行数:37,代码来源:GridClientNodeBean.java

示例5: readExternal

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    last = in.readBoolean();
    qryId = in.readLong();
    items = U.readCollection(in);
    fieldsMeta = U.readCollection(in);
}
 
开发者ID:apache,项目名称:ignite,代码行数:8,代码来源:CacheQueryResult.java

示例6: readExternal

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    cacheName = U.readString(in);
    types = U.readCollection(in);
    keyClasses = U.readMap(in);
    valClasses = U.readMap(in);
    fields = U.readMap(in);
    indexes = U.readMap(in);
}
 
开发者ID:apache,项目名称:ignite,代码行数:10,代码来源:GridCacheQueryManager.java

示例7: readExternal

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    updates = U.readCollection(in);
}
 
开发者ID:apache,项目名称:ignite,代码行数:5,代码来源:WebSessionListener.java

示例8: readExternal

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    nodeId = U.readUuid(in);
    items = U.readCollection(in);
    clientInfos = U.readMap(in);
}
 
开发者ID:apache,项目名称:ignite,代码行数:7,代码来源:GridContinuousProcessor.java

示例9: readExternalData

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException {
    cacheNames = U.readCollection(in);
}
 
开发者ID:apache,项目名称:ignite,代码行数:5,代码来源:VisorCacheConfigurationCollectorTaskArg.java

示例10: readExternal

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(final ObjectInput in) throws IOException, ClassNotFoundException {
    cacheName = U.readString(in);

    keys = U.readCollection(in);

    update = in.readBoolean();

    plc = (ExpiryPolicy)in.readObject();

    keepBinary = in.readBoolean();
}
 
开发者ID:apache,项目名称:ignite,代码行数:13,代码来源:GridCacheAdapter.java


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