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


Java U.readGridUuid方法代码示例

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


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

示例1: readExternal

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    id = U.readGridUuid(in);
    cap = in.readInt();
    collocated = in.readBoolean();
    head = in.readLong();
    tail = in.readLong();

    if (in.readBoolean()) {
        int size = in.readInt();

        rmvIdxs = new HashSet<>();

        for (int i = 0; i < size; i++)
            rmvIdxs.add(in.readLong());
    }
}
 
开发者ID:apache,项目名称:ignite,代码行数:18,代码来源:GridCacheQueueHeader.java

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

示例3: readExternal

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    // Uncomment if you would like to see raw serialization performance.
    //uid = (GridUuid)in.readObject();

    uid = U.readGridUuid(in);
}
 
开发者ID:apache,项目名称:ignite,代码行数:8,代码来源:IgniteUuidSelfTest.java

示例4: readExternal

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

    props = IgfsUtils.readProperties(in);

    blockSize = in.readInt();
    affKey = U.readGridUuid(in);
    lockId = U.readGridUuid(in);
    evictExclude = in.readBoolean();

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

示例5: readExternalData

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException {
    try (VisorDataTransferObjectInput dtin = new VisorDataTransferObjectInput(in)) {
        super.readExternalData(dtin.readByte(), dtin);
    }

    taskName = U.readString(in);
    taskClsName = U.readString(in);
    taskSesId = U.readGridUuid(in);
    jobId = U.readGridUuid(in);
}
 
开发者ID:apache,项目名称:ignite,代码行数:12,代码来源:VisorGridJobEvent.java

示例6: readExternal

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

    blockSize = in.readInt();
    len = in.readLong();
    lockId = U.readGridUuid(in);
    affKey = U.readGridUuid(in);
    fileMap = (IgfsFileMap)in.readObject();
    evictExclude = in.readBoolean();
}
 
开发者ID:apache,项目名称:ignite,代码行数:13,代码来源:IgfsFileInfo.java

示例7: readExternalData

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException {
    try (VisorDataTransferObjectInput dtin = new VisorDataTransferObjectInput(in)) {
        super.readExternalData(dtin.readByte(), dtin);
    }

    taskName = U.readString(in);
    taskClsName = U.readString(in);
    taskSesId = U.readGridUuid(in);
    internal = in.readBoolean();
}
 
开发者ID:apache,项目名称:ignite,代码行数:12,代码来源:VisorGridTaskEvent.java

示例8: readExternal

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

示例9: readExternal

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

示例10: readExternal

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    // Don't serialize node ID.
    sesId = U.readGridUuid(in);
    jobId = U.readGridUuid(in);
}
 
开发者ID:apache,项目名称:ignite,代码行数:7,代码来源:GridJobSiblingImpl.java

示例11: readExternal

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

示例12: readExternal

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

示例13: readExternal

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

示例14: 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);
    grpName = U.readString(in);
    mode = CacheMode.fromOrdinal(in.readByte());
    atomicityMode = CacheAtomicityMode.fromOrdinal(in.readByte());
    eagerTtl = in.readBoolean();
    writeSynchronizationMode = CacheWriteSynchronizationMode.fromOrdinal(in.readByte());
    invalidate = in.readBoolean();
    maxConcurrentAsyncOps = in.readInt();
    interceptor = U.readString(in);
    dfltLockTimeout = in.readLong();
    affinityCfg = (VisorCacheAffinityConfiguration)in.readObject();
    rebalanceCfg = (VisorCacheRebalanceConfiguration)in.readObject();
    evictCfg = (VisorCacheEvictionConfiguration)in.readObject();
    nearCfg = (VisorCacheNearConfiguration)in.readObject();
    storeCfg = (VisorCacheStoreConfiguration)in.readObject();
    qryEntities = U.readList(in);
    jdbcTypes = U.readList(in);
    statisticsEnabled = in.readBoolean();
    mgmtEnabled = in.readBoolean();
    ldrFactory = U.readString(in);
    writerFactory = U.readString(in);
    expiryPlcFactory = U.readString(in);
    qryCfg = (VisorQueryConfiguration)in.readObject();
    sys = in.readBoolean();
    storeKeepBinary = in.readBoolean();
    onheapCache = in.readBoolean();
    partLossPlc = PartitionLossPolicy.fromOrdinal(in.readByte());
    qryParallelism = in.readInt();
    cpOnRead = in.readBoolean();
    evictFilter = U.readString(in);
    lsnrConfigurations = U.readString(in);
    loadPrevVal = in.readBoolean();
    dataRegName = U.readString(in);
    sqlIdxMaxInlineSize = in.readInt();
    nodeFilter = U.readString(in);
    qryDetailMetricsSz = in.readInt();
    readFromBackup = in.readBoolean();
    tmLookupClsName = U.readString(in);
    topValidator = U.readString(in);
    dynamicDeploymentId = U.readGridUuid(in);
}
 
开发者ID:apache,项目名称:ignite,代码行数:44,代码来源:VisorCacheConfiguration.java

示例15: 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);
    setId = U.readGridUuid(in);
    topVer = (AffinityTopologyVersion)in.readObject();
}
 
开发者ID:apache,项目名称:ignite,代码行数:7,代码来源:CacheDataStructuresManager.java


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