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


Java U.readMap方法代码示例

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


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

示例1: readExternal

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

    op = GridCacheOperation.fromOrdinal(in.readByte());

    cacheName = U.readString(in);

    key = in.readObject();
    val = in.readObject();
    val2 = in.readObject();

    vals = U.readMap(in);

    cacheFlagsOn = in.readInt();
}
 
开发者ID:apache,项目名称:ignite,代码行数:18,代码来源:GridClientCacheRequest.java

示例2: readExternalData

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException {
    name = U.readString(in);
    metaCacheName = U.readString(in);
    dataCacheName = U.readString(in);
    blockSize = in.readInt();
    prefetchBlocks = in.readInt();
    streamBufSize = in.readInt();
    perNodeBatchSize = in.readInt();
    perNodeParallelBatchCnt = in.readInt();
    dfltMode = IgfsMode.fromOrdinal(in.readByte());
    pathModes = U.readMap(in);
    maxTaskRangeLen = in.readLong();
    fragmentizerConcurrentFiles = in.readInt();
    fragmentizerEnabled = in.readBoolean();
    fragmentizerThrottlingBlockLen = in.readLong();
    fragmentizerThrottlingDelay = in.readLong();
    ipcEndpointCfg = U.readString(in);
    ipcEndpointEnabled = in.readBoolean();
    mgmtPort = in.readInt();
    seqReadsBeforePrefetch = in.readInt();
    colocateMeta = in.readBoolean();
    relaxedConsistency = in.readBoolean();
    updateFileLenOnFlush = in.readBoolean();
}
 
开发者ID:apache,项目名称:ignite,代码行数:26,代码来源:VisorIgfsConfiguration.java

示例3: readExternalData

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException {
    active = in.readBoolean();
    unhandledEx = U.readMap(in);
    gridNames = U.readMap(in);
    topVersions = U.readMap(in);
    taskMonitoringEnabled = U.readMap(in);
    errCnts = U.readMap(in);
    evts = U.readList(in);
    evtsEx = U.readMap(in);
    memoryMetrics = U.readMap(in);
    memoryMetricsEx = U.readMap(in);
    caches = U.readMap(in);
    cachesEx = U.readMap(in);
    igfss = U.readMap(in);
    igfsEndpoints = U.readMap(in);
    igfssEx = U.readMap(in);
    readyTopVers = U.readMap(in);
    pendingExchanges = U.readMap(in);
    persistenceMetrics = U.readMap(in);
    persistenceMetricsEx = U.readMap(in);

    if (protoVer > V1)
        rebalance = U.readMap(in);
}
 
开发者ID:apache,项目名称:ignite,代码行数:26,代码来源:VisorNodeDataCollectorTaskResult.java

示例4: readExternal

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    id = U.readString(in);
    createTime = in.readLong();
    accessTime = in.readLong();
    maxInactiveInterval = in.readInt();
    attrs = U.readMap(in);
}
 
开发者ID:apache,项目名称:ignite,代码行数:9,代码来源:WebSession.java

示例5: readObject

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/**
 * @param in In.
 */
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
    in.defaultReadObject();

    if (serializeVersion() >= 2)
        servicePermissions = U.readMap(in);

    if (servicePermissions == null) {
        // Allow all for compatibility mode
        if (serializeVersion() < 2)
            servicePermissions = compatibleServicePermissions();
        else
            servicePermissions = Collections.emptyMap();
    }
}
 
开发者ID:apache,项目名称:ignite,代码行数:18,代码来源:SecurityBasicPermissionSet.java

示例6: readExternal

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    clsLdrId = U.readGridUuid(in);
    depMode = DeploymentMode.fromOrdinal(in.readByte());
    userVer = U.readString(in);
    locDepOwner = in.readBoolean();
    participants = U.readMap(in);
}
 
开发者ID:apache,项目名称:ignite,代码行数:9,代码来源:GridDeploymentInfoBean.java

示例7: readExternal

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    factoryTyp = in.readInt();
    clsName = U.readString(in);
    payload = in.readObject();
    props = U.readMap(in);
}
 
开发者ID:apache,项目名称:ignite,代码行数:8,代码来源:PlatformJavaObjectFactoryProxy.java

示例8: readExternal

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

    depMode = DeploymentMode.fromOrdinal(in.readInt());

    clsLdrId = U.readGridUuid(in);
    srcClsName = U.readString(in);
    userVer = U.readString(in);
    ldrParties = U.readMap(in);
}
 
开发者ID:apache,项目名称:ignite,代码行数:12,代码来源:GridAffinityMessage.java

示例9: 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

示例10: readExternalData

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException {
    keyType = U.readString(in);
    valType = U.readString(in);
    keyFields = U.readList(in);
    qryFlds = IgfsUtils.readStringMap(in);
    aliases = U.readMap(in);
    grps = U.readList(in);
    tblName = U.readString(in);
    keyFieldName = U.readString(in);
    valFieldName = U.readString(in);
}
 
开发者ID:apache,项目名称:ignite,代码行数:13,代码来源:VisorQueryEntity.java

示例11: readExternalData

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException {
    name = U.readString(in);
    srvcCls = U.readString(in);
    totalCnt = in.readInt();
    maxPerNodeCnt = in.readInt();
    cacheName = U.readString(in);
    originNodeId = U.readUuid(in);
    topSnapshot = U.readMap(in);
}
 
开发者ID:apache,项目名称:ignite,代码行数:11,代码来源:VisorServiceDescriptor.java

示例12: readExternalData

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException {
    name = U.readString(in);
    mode = CacheMode.fromOrdinal(in.readByte());
    sys = in.readBoolean();
    metrics = U.readMap(in);
    minHeapSize = (Long)in.readObject();
    avgHeapSize = (Double)in.readObject();
    maxHeapSize = (Long)in.readObject();
    minOffHeapSize = (Long)in.readObject();
    avgOffHeapSize = (Double)in.readObject();
    maxOffHeapSize = (Long)in.readObject();
    minHits = (Long)in.readObject();
    avgHits = (Double)in.readObject();
    maxHits = (Long)in.readObject();
    minMisses = (Long)in.readObject();
    avgMisses = (Double)in.readObject();
    maxMisses = (Long)in.readObject();
    minReads = (Long)in.readObject();
    avgReads = (Double)in.readObject();
    maxReads = (Long)in.readObject();
    minWrites = (Long)in.readObject();
    avgWrites = (Double)in.readObject();
    maxWrites = (Long)in.readObject();
    minQryTime = (Long)in.readObject();
    avgQryTime = (Double)in.readObject();
    maxQryTime = (Long)in.readObject();
    totalQryTime = (Long)in.readObject();
    execsQry = (Integer)in.readObject();
    failsQry = (Integer)in.readObject();
}
 
开发者ID:apache,项目名称:ignite,代码行数:32,代码来源:VisorCacheAggregatedMetrics.java

示例13: readExternalData

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

示例14: 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

示例15: readExternalData

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


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