本文整理汇总了Java中org.apache.ignite.internal.util.typedef.internal.U.writeEnum方法的典型用法代码示例。如果您正苦于以下问题:Java U.writeEnum方法的具体用法?Java U.writeEnum怎么用?Java U.writeEnum使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.apache.ignite.internal.util.typedef.internal.U
的用法示例。
在下文中一共展示了U.writeEnum方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: writeExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void writeExternal(ObjectOutput out) throws IOException {
U.writeString(out, igfsName);
out.writeInt(blockSize);
out.writeInt(grpSize);
U.writeString(out, metaCacheName);
U.writeString(out, dataCacheName);
U.writeEnum(out, dfltMode);
out.writeBoolean(fragmentizerEnabled);
if (pathModes != null) {
out.writeBoolean(true);
out.writeInt(pathModes.size());
for (Map.Entry<String, IgfsMode> pathMode : pathModes.entrySet()) {
U.writeString(out, pathMode.getKey());
U.writeEnum(out, pathMode.getValue());
}
}
else
out.writeBoolean(false);
}
示例2: 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);
}
示例3: 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);
}
示例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);
U.writeString(out, metaCacheName);
U.writeString(out, dataCacheName);
out.writeInt(blockSize);
out.writeInt(prefetchBlocks);
out.writeInt(streamBufSize);
out.writeInt(perNodeBatchSize);
out.writeInt(perNodeParallelBatchCnt);
U.writeEnum(out, dfltMode);
U.writeMap(out, pathModes);
out.writeLong(maxTaskRangeLen);
out.writeInt(fragmentizerConcurrentFiles);
out.writeBoolean(fragmentizerEnabled);
out.writeLong(fragmentizerThrottlingBlockLen);
out.writeLong(fragmentizerThrottlingDelay);
U.writeString(out, ipcEndpointCfg);
out.writeBoolean(ipcEndpointEnabled);
out.writeInt(mgmtPort);
out.writeInt(seqReadsBeforePrefetch);
out.writeBoolean(colocateMeta);
out.writeBoolean(relaxedConsistency);
out.writeBoolean(updateFileLenOnFlush);
}
示例5: writeExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void writeExternal(ObjectOutput out) throws IOException {
U.writeGridUuid(out, clsLdrId);
U.writeEnum(out, depMode);
U.writeString(out, userVer);
out.writeBoolean(locDepOwner);
U.writeMap(out, participants);
}
示例6: 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);
}
示例7: 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(initSize);
out.writeLong(maxSize);
U.writeString(out, swapFilePath);
U.writeEnum(out, pageEvictionMode);
out.writeDouble(evictionThreshold);
out.writeInt(emptyPagesPoolSize);
}
示例8: writeExternalData
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void writeExternalData(ObjectOutput out) throws IOException {
U.writeEnum(out, plc);
U.writeString(out, resolvers);
out.writeLong(checkFreq);
out.writeBoolean(waitOnStart);
out.writeBoolean(allResolversPassReq);
out.writeInt(segResolveAttempts);
}
示例9: writeExternalData
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void writeExternalData(ObjectOutput out) throws IOException {
out.writeLong(id);
U.writeString(out, qry);
U.writeEnum(out, qryType);
U.writeString(out, schemaName);
out.writeLong(startTime);
out.writeLong(duration);
out.writeBoolean(cancellable);
out.writeBoolean(loc);
}
示例10: 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);
}
示例11: 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.writeEnum(out, mode);
out.writeBoolean(sys);
U.writeMap(out, metrics);
out.writeObject(minHeapSize);
out.writeObject(avgHeapSize);
out.writeObject(maxHeapSize);
out.writeObject(minOffHeapSize);
out.writeObject(avgOffHeapSize);
out.writeObject(maxOffHeapSize);
out.writeObject(minHits);
out.writeObject(avgHits);
out.writeObject(maxHits);
out.writeObject(minMisses);
out.writeObject(avgMisses);
out.writeObject(maxMisses);
out.writeObject(minReads);
out.writeObject(avgReads);
out.writeObject(maxReads);
out.writeObject(minWrites);
out.writeObject(avgWrites);
out.writeObject(maxWrites);
out.writeObject(minQryTime);
out.writeObject(avgQryTime);
out.writeObject(maxQryTime);
out.writeObject(totalQryTime);
out.writeObject(execsQry);
out.writeObject(failsQry);
}
示例12: writeExternalData
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void writeExternalData(ObjectOutput out) throws IOException {
U.writeEnum(out, mode);
out.writeInt(batchSize);
out.writeLong(partitionedDelay);
out.writeLong(throttle);
out.writeLong(timeout);
out.writeLong(batchesPrefetchCnt);
out.writeInt(rebalanceOrder);
}
示例13: writeExternalData
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void writeExternalData(ObjectOutput out) throws IOException {
U.writeString(out, cacheName);
U.writeEnum(out, mode);
out.writeObject(key);
out.writeObject(value);
}
示例14: writeExternalData
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void writeExternalData(ObjectOutput out) throws IOException {
out.writeLong(sysRegionInitSize);
out.writeLong(sysRegionMaxSize);
out.writeInt(pageSize);
out.writeInt(concLvl);
out.writeObject(dfltDataRegCfg);
U.writeCollection(out, dataRegCfgs);
U.writeString(out, storagePath);
out.writeLong(checkpointFreq);
out.writeLong(lockWaitTime);
out.writeLong(0);
out.writeInt(checkpointThreads);
U.writeEnum(out, checkpointWriteOrder);
out.writeInt(walHistSize);
out.writeInt(walSegments);
out.writeInt(walSegmentSize);
U.writeString(out, walPath);
U.writeString(out, walArchivePath);
out.writeBoolean(metricsEnabled);
U.writeEnum(out, walMode);
out.writeInt(walTlbSize);
out.writeLong(walFlushFreq);
out.writeLong(walFsyncDelay);
out.writeInt(walRecordIterBuffSize);
out.writeBoolean(alwaysWriteFullPages);
U.writeString(out, fileIOFactory);
out.writeInt(metricsSubIntervalCount);
out.writeLong(metricsRateTimeInterval);
out.writeLong(walAutoArchiveAfterInactivity);
out.writeBoolean(writeThrottlingEnabled);
}
示例15: 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(initSize);
out.writeLong(maxSize);
U.writeString(out, swapPath);
U.writeEnum(out, pageEvictionMode);
out.writeDouble(evictionThreshold);
out.writeInt(emptyPagesPoolSize);
out.writeBoolean(metricsEnabled);
out.writeInt(metricsSubIntervalCount);
out.writeLong(metricsRateTimeInterval);
out.writeBoolean(persistenceEnabled);
out.writeLong(checkpointPageBufSize);
}