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


Java U.writeGridUuid方法代码示例

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


在下文中一共展示了U.writeGridUuid方法的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, name);
    U.writeGridUuid(out, dynamicDeploymentId);
    U.writeEnum(out, mode);
    out.writeLong(memorySize);
    out.writeLong(indexesSize);
    out.writeLong(size);
    out.writeInt(nearSize);
    out.writeLong(primarySize);
    out.writeLong(backupSize);
    out.writeInt(partitions);
    out.writeBoolean(near);
    out.writeObject(metrics);
    out.writeBoolean(sys);
}
 
开发者ID:apache,项目名称:ignite,代码行数:17,代码来源:VisorCache.java

示例2: writeExternal

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void writeExternal(ObjectOutput out) throws IOException {
    U.writeGridUuid(out, id);
    out.writeInt(cap);
    out.writeBoolean(collocated);
    out.writeLong(head);
    out.writeLong(tail);
    out.writeBoolean(rmvIdxs != null);

    if (rmvIdxs != null) {
        out.writeInt(rmvIdxs.size());

        for (Long idx : rmvIdxs)
            out.writeLong(idx);
    }
}
 
开发者ID:apache,项目名称:ignite,代码行数:17,代码来源:GridCacheQueueHeader.java

示例3: writeExternalData

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void writeExternalData(ObjectOutput out) throws IOException {
    try (VisorDataTransferObjectOutput dtout = new VisorDataTransferObjectOutput(out)) {
        dtout.writeByte(super.getProtocolVersion());

        super.writeExternalData(dtout);
    }

    U.writeString(out, taskName);
    U.writeString(out, taskClsName);
    U.writeGridUuid(out, taskSesId);
    out.writeBoolean(internal);
}
 
开发者ID:apache,项目名称:ignite,代码行数:14,代码来源:VisorGridTaskEvent.java

示例4: writeExternal

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void writeExternal(ObjectOutput out) throws IOException {
    // Uncomment if you would like to see raw serialization performance.
    //out.writeObject(uid);

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

示例5: writeExternalData

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void writeExternalData(ObjectOutput out) throws IOException {
    U.writeString(out, keyOrder);
    out.writeObject(typeArg);
    out.writeObject(timeArg);
    U.writeString(out, taskName);
    U.writeGridUuid(out, taskSesId);
}
 
开发者ID:apache,项目名称:ignite,代码行数:9,代码来源:VisorNodeEventsCollectorTaskArg.java

示例6: writeExternal

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void writeExternal(ObjectOutput out) throws IOException {
    out.writeLong(accessTime);
    out.writeLong(modificationTime);

    IgfsUtils.writeProperties(out, props);

    out.writeInt(blockSize);
    U.writeGridUuid(out, affKey);
    U.writeGridUuid(out, lockId);
    out.writeBoolean(evictExclude);

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

示例7: writeExternal

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void writeExternal(ObjectOutput out) throws IOException {
    U.writeGridUuid(out, fileId);
    U.writeGridUuid(out, affKey);
    out.writeBoolean(evictExclude);
    out.writeLong(blockId);
}
 
开发者ID:apache,项目名称:ignite,代码行数:8,代码来源:IgfsBlockKey.java

示例8: writeExternal

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void writeExternal(ObjectOutput out) throws IOException {
    U.writeGridUuid(out, id);

    IgfsUtils.writeProperties(out, props);

    out.writeLong(accessTime);
    out.writeLong(modificationTime);
}
 
开发者ID:apache,项目名称:ignite,代码行数:10,代码来源:IgfsEntryInfo.java

示例9: writeExternalData

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void writeExternalData(ObjectOutput out) throws IOException {
    out.writeInt(typeId);
    U.writeGridUuid(out, id);
    U.writeString(out, name);
    U.writeUuid(out, nid);
    out.writeLong(ts);
    U.writeString(out, msg);
    U.writeString(out, shortDisplay);
}
 
开发者ID:apache,项目名称:ignite,代码行数:11,代码来源:VisorGridEvent.java

示例10: writeExternal

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void writeExternal(ObjectOutput out) throws IOException {
    out.writeByte(topic.ordinal());
    U.writeGridUuid(out, id1);
    U.writeUuid(out, id2);
}
 
开发者ID:apache,项目名称:ignite,代码行数:7,代码来源:GridTopic.java

示例11: writeExternal

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void writeExternal(ObjectOutput out) throws IOException {
    U.writeGridUuid(out, lockId);
}
 
开发者ID:apache,项目名称:ignite,代码行数:5,代码来源:IgfsMetaFileLockProcessor.java

示例12: writeExternal

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

示例13: writeExternal

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

示例14: 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.writeGridUuid(out, setId);
    out.writeObject(topVer);
}
 
开发者ID:apache,项目名称:ignite,代码行数:7,代码来源:CacheDataStructuresManager.java

示例15: writeExternal

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void writeExternal(ObjectOutput out) throws IOException {
    U.writeGridUuid(out, setId);
    out.writeObject(item);
}
 
开发者ID:apache,项目名称:ignite,代码行数:6,代码来源:GridCacheSetItemKey.java


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