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


Java U.writeString方法代码示例

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


在下文中一共展示了U.writeString方法的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, persistenceStorePath);
    out.writeLong(checkpointingFreq);
    out.writeLong(lockWaitTime);
    out.writeLong(checkpointingPageBufSize);
    out.writeInt(checkpointingThreads);
    out.writeInt(walHistSize);
    out.writeInt(walSegments);
    out.writeInt(walSegmentSize);
    U.writeString(out, walStorePath);
    U.writeString(out, walArchivePath);
    out.writeBoolean(metricsEnabled);
    U.writeEnum(out, walMode);
    out.writeInt(tlbSize);
    out.writeLong(walFlushFreq);
    out.writeLong(walFsyncDelay);
    out.writeInt(walRecordIterBuffSize);
    out.writeBoolean(alwaysWriteFullPages);
    out.writeInt(subIntervals);
    out.writeLong(rateTimeInterval);
}
 
开发者ID:apache,项目名称:ignite,代码行数:23,代码来源:VisorPersistentStoreConfiguration.java

示例2: writeExternalData

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void writeExternalData(ObjectOutput out) throws IOException {
    out.writeBoolean(restEnabled);
    out.writeBoolean(tcpSslEnabled);
    U.writeString(out, jettyPath);
    U.writeString(out, jettyHost);
    out.writeObject(jettyPort);
    U.writeString(out, tcpHost);
    out.writeInt(tcpPort);
    U.writeString(out, tcpSslCtxFactory);
    U.writeString(out, secretKey);
    out.writeBoolean(noDelay);
    out.writeBoolean(directBuf);
    out.writeInt(sndBufSize);
    out.writeInt(rcvBufSize);
    out.writeLong(idleQryCurTimeout);
    out.writeLong(idleQryCurCheckFreq);
    out.writeInt(sndQueueLimit);
    out.writeInt(selectorCnt);
    out.writeLong(idleTimeout);
    out.writeBoolean(sslClientAuth);
    U.writeString(out, sslFactory);
    out.writeInt(portRange);
    U.writeString(out, msgInterceptor);
}
 
开发者ID:apache,项目名称:ignite,代码行数:26,代码来源:VisorRestConfiguration.java

示例3: writeExternal

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

    if (listing != null) {
        out.writeBoolean(true);

        out.writeInt(listing.size());

        for (Map.Entry<String, IgfsListingEntry> entry : listing.entrySet()) {
            U.writeString(out, entry.getKey());

            IgfsUtils.writeListingEntry(out, entry.getValue());
        }
    }
    else
        out.writeBoolean(false);
}
 
开发者ID:apache,项目名称:ignite,代码行数:19,代码来源:IgfsDirectoryInfo.java

示例4: writeExternalData

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void writeExternalData(ObjectOutput out) throws IOException {
    U.writeString(out, name);
    out.writeLong(id);
    U.writeString(out, state.toString());
    out.writeObject(lock);
    U.writeString(out, lockName);
    out.writeLong(lockOwnerId);
    U.writeString(out, lockOwnerName);
    out.writeBoolean(inNative);
    out.writeBoolean(suspended);
    out.writeLong(waitedCnt);
    out.writeLong(waitedTime);
    out.writeLong(blockedCnt);
    out.writeLong(blockedTime);
    U.writeCollection(out, stackTrace);
    U.writeCollection(out, locks);
    U.writeCollection(out, lockedMonitors);
}
 
开发者ID:apache,项目名称:ignite,代码行数:20,代码来源:VisorThreadInfo.java

示例5: writeExternal

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void writeExternal(ObjectOutput out) throws IOException {
    out.writeObject(fetchSize);
    out.writeObject(readConsistency);
    out.writeObject(writeConsistency);
    U.writeString(out, user);
    U.writeString(out, pwd);
    out.writeObject(port);
    out.writeObject(contactPoints);
    out.writeObject(contactPointsWithPorts);
    out.writeObject(maxSchemaAgreementWaitSeconds);
    out.writeObject(protoVer);
    U.writeString(out, compression);
    out.writeObject(useSSL);
    out.writeObject(collectMetrix);
    out.writeObject(jmxReporting);
    out.writeObject(creds);
    writeObject(out, loadBalancingPlc);
    writeObject(out, reconnectionPlc);
    writeObject(out, addrTranslator);
    writeObject(out, speculativeExecutionPlc);
    writeObject(out, authProvider);
    writeObject(out, sslOptions);
    writeObject(out, poolingOptions);
    writeObject(out, sockOptions);
    writeObject(out, nettyOptions);
}
 
开发者ID:epam,项目名称:Lagerta,代码行数:28,代码来源:DataSource.java

示例6: writeExternalData

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void writeExternalData(ObjectOutput out) throws IOException {
    U.writeString(out, keyType);
    U.writeString(out, valType);
    U.writeCollection(out, keyFields);
    IgfsUtils.writeStringMap(out, qryFlds);
    U.writeMap(out, aliases);
    U.writeCollection(out, grps);
    U.writeString(out, tblName);
    U.writeString(out, keyFieldName);
    U.writeString(out, valFieldName);
}
 
开发者ID:apache,项目名称:ignite,代码行数:13,代码来源:VisorQueryEntity.java

示例7: writeExternalData

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void writeExternalData(ObjectOutput out) throws IOException {
    U.writeString(out, igfsName);
    U.writeString(out, gridName);
    U.writeString(out, hostName);
    out.writeInt(port);
}
 
开发者ID:apache,项目名称:ignite,代码行数:8,代码来源:VisorIgfsEndpoint.java

示例8: writeExternalData

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void writeExternalData(ObjectOutput out) throws IOException {
    U.writeString(out, igniteInstanceName);
    U.writeString(out, ggHome);
    U.writeString(out, locHost);
    U.writeString(out, marsh);
    U.writeEnum(out, deployMode);
    out.writeObject(clientMode);
    out.writeBoolean(daemon);
    out.writeBoolean(jmxRemote);
    out.writeBoolean(restart);
    out.writeLong(netTimeout);
    U.writeString(out, log);
    out.writeLong(discoStartupDelay);
    U.writeString(out, mBeanSrv);
    out.writeBoolean(noAscii);
    out.writeBoolean(noDiscoOrder);
    out.writeBoolean(noShutdownHook);
    U.writeString(out, progName);
    out.writeBoolean(quiet);
    U.writeString(out, successFile);
    out.writeBoolean(updateNtf);
    out.writeBoolean(activeOnStart);
    U.writeString(out, addrRslvr);
    out.writeBoolean(cacheSanityCheckEnabled);
    U.writeString(out, clsLdr);
    U.writeString(out, consistentId);
    out.writeObject(failureDetectionTimeout);
    U.writeString(out, igniteWorkDir);
    out.writeBoolean(lateAffAssignment);
    out.writeBoolean(marshLocJobs);
    out.writeLong(metricsUpdateFreq);
    out.writeObject(clientFailureDetectionTimeout);
    out.writeInt(sndRetryCnt);
    out.writeLong(sndRetryDelay);
    out.writeInt(timeSrvPortBase);
    out.writeInt(timeSrvPortRange);
    out.writeLong(utilityCacheKeepAliveTime);
}
 
开发者ID:apache,项目名称:ignite,代码行数:40,代码来源:VisorBasicConfiguration.java

示例9: writeExternalData

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void writeExternalData(ObjectOutput out) throws IOException {
    U.writeEnum(out, dfltConcurrency);
    U.writeEnum(out, dfltIsolation);
    out.writeLong(dfltTimeout);
    out.writeInt(pessimisticTxLogLinger);
    out.writeInt(pessimisticTxLogSize);
    U.writeString(out, txMgrFactory);
}
 
开发者ID:apache,项目名称:ignite,代码行数:10,代码来源:VisorTransactionConfiguration.java

示例10: writeExternal

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void writeExternal(ObjectOutput out) throws IOException {
    U.writeString(out, name);
    out.writeObject(params);
    out.writeLong(timeout);
    U.writeUuid(out, clientId);
}
 
开发者ID:apache,项目名称:ignite,代码行数:8,代码来源:GridTaskCommandHandler.java

示例11: writeExternalData

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void writeExternalData(ObjectOutput out) throws IOException {
    U.writeUuid(out, nid);
    U.writeString(out, filePath);
    out.writeLong(fileSize);
    out.writeLong(lastModified);
    U.writeCollection(out, lines);
    out.writeInt(lineNum);
    out.writeInt(lineCnt);
    U.writeString(out, encoding);
}
 
开发者ID:apache,项目名称:ignite,代码行数:12,代码来源:VisorLogSearchResult.java

示例12: writeProperties

import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/**
 * Write entry properties. Rely on reference equality for well-known properties.
 *
 * @param out Writer.
 * @param props Properties.
 * @throws IOException If failed.
 */
@SuppressWarnings("StringEquality")
public static void writeProperties(DataOutput out, @Nullable Map<String, String> props) throws IOException {
    if (props != null) {
        out.writeInt(props.size());

        for (Map.Entry<String, String> entry : props.entrySet()) {
            String key = entry.getKey();

            if (key == PROP_PERMISSION)
                out.writeByte(PROP_PERMISSION_IDX);
            else if (key == PROP_PREFER_LOCAL_WRITES)
                out.writeByte(PROP_PREFER_LOCAL_WRITES_IDX);
            else if (key == PROP_USER_NAME)
                out.writeByte(PROP_USER_NAME_IDX);
            else if (key == PROP_GROUP_NAME)
                out.writeByte(PROP_GROUP_NAME_IDX);
            else {
                out.writeByte(PROP_IDX);
                U.writeString(out, key);
            }

            U.writeString(out, entry.getValue());
        }
    }
    else
        out.writeInt(-1);
}
 
开发者ID:apache,项目名称:ignite,代码行数:35,代码来源:IgfsUtils.java

示例13: writeExternalData

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

示例14: writeExternalData

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

示例15: writeExternal

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


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