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


Java U.readUuid方法代码示例

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


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

示例1: readExternal

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

    xidVer = (GridCacheVersion)in.readObject();
    invalidate = in.readBoolean();
    timeout = in.readLong();
    threadId = in.readLong();
    startTime = in.readLong();

    nodeId = U.readUuid(in);

    isolation = TransactionIsolation.fromOrdinal(in.read());
    concurrency = TransactionConcurrency.fromOrdinal(in.read());

    state = TransactionState.fromOrdinal(in.read());
}
 
开发者ID:apache,项目名称:ignite,代码行数:18,代码来源:IgniteTxAdapter.java

示例2: 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.readUuid(in);
    id2 = U.readUuid(in);
    id3 = in.readLong();
}
 
开发者ID:apache,项目名称:ignite,代码行数:8,代码来源:GridTopic.java

示例3: readExternal

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@SuppressWarnings("unchecked")
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    routineId = U.readUuid(in);
    prjPred = (IgnitePredicate<ClusterNode>)in.readObject();
    hnd = (GridContinuousHandler)in.readObject();
    bufSize = in.readInt();
    interval = in.readLong();
    autoUnsubscribe = in.readBoolean();
}
 
开发者ID:apache,项目名称:ignite,代码行数:11,代码来源:GridContinuousProcessor.java

示例4: readExternal

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

    nodeId = U.readUuid(in);

    nodeIp = U.readString(in);

    includeMetrics = in.readBoolean();
    includeAttrs = in.readBoolean();
}
 
开发者ID:apache,项目名称:ignite,代码行数:12,代码来源:GridClientTopologyRequest.java

示例5: readExternal

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    name = U.readString(in);
    params = (List<Object>)in.readObject();
    timeout = in.readLong();
    clientId = U.readUuid(in);
}
 
开发者ID:apache,项目名称:ignite,代码行数:8,代码来源:GridTaskCommandHandler.java

示例6: readExternalData

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException {
    typeId = in.readInt();
    id = U.readGridUuid(in);
    name = U.readString(in);
    nid = U.readUuid(in);
    ts = in.readLong();
    msg = U.readString(in);
    shortDisplay = U.readString(in);
}
 
开发者ID:apache,项目名称:ignite,代码行数:11,代码来源:VisorGridEvent.java

示例7: 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);

    nodeOrder = in.readLong();
    updateSeq = in.readLong();

    putAll(U.<UUID, GridDhtPartitionMap>readMap(in));
}
 
开发者ID:apache,项目名称:ignite,代码行数:10,代码来源:GridDhtPartitionFullMap.java

示例8: readExternalData

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException {
    resNodeId = U.readUuid(in);
    qryId = U.readString(in);
    cols = U.readList(in);
    rows = U.readList(in);
    hasMore = in.readBoolean();
    duration = in.readLong();
}
 
开发者ID:apache,项目名称:ignite,代码行数:10,代码来源:VisorQueryResult.java

示例9: readExternal

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

    if (in.readBoolean())
        ids = (Set<UUID>)in.readObject();
    else
        p = (IgnitePredicate<ClusterNode>)in.readObject();
}
 
开发者ID:apache,项目名称:ignite,代码行数:11,代码来源:ClusterGroupAdapter.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 {
    affinityNode = U.readUuid(in);
    resultType = U.readString(in);
    result = in.readObject();
}
 
开发者ID:apache,项目名称:ignite,代码行数:7,代码来源:VisorCacheModifyTaskResult.java

示例11: readExternal

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

示例12: readExternal

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

示例13: readExternal

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

    locId = in.readLong();
}
 
开发者ID:apache,项目名称:ignite,代码行数:7,代码来源:IgniteUuid.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);
    topVer = (AffinityTopologyVersion)in.readObject();
    evt = in.readInt();
}
 
开发者ID:apache,项目名称:ignite,代码行数:7,代码来源:GridDhtPartitionExchangeId.java


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