Package io.deephaven.iris.db.gen
Class ProcessMetricsFormat1Logger
java.lang.Object
com.illumon.intradaylogger.IntradayLoggerImpl2<io.deephaven.iris.db.gen.ProcessMetricsFormat1Logger.ISetter>
io.deephaven.iris.db.gen.ProcessMetricsFormat1Logger
- All Implemented Interfaces:
IntradayLogger,MultiArgLogger
public class ProcessMetricsFormat1Logger
extends IntradayLoggerImpl2<io.deephaven.iris.db.gen.ProcessMetricsFormat1Logger.ISetter>
implements MultiArgLogger
-
Nested Class Summary
Nested classes/interfaces inherited from class com.illumon.intradaylogger.IntradayLoggerImpl2
IntradayLoggerImpl2.BaseSetter<T2 extends IntradayLoggerImpl2<T>.BaseSetter<T2>>Nested classes/interfaces inherited from interface com.illumon.intradaylogger.IntradayLogger
IntradayLogger.TableWriterFactory, IntradayLogger.TableWriterFactoryImpl -
Field Summary
FieldsFields inherited from class com.illumon.intradaylogger.IntradayLoggerImpl2
forceStandaloneMode, isClosed, isShuttingDown, outstandingSetters, setterPool, verifyChecksumDisabled, writerFields inherited from interface com.illumon.intradaylogger.IntradayLogger
DEFAULT_INTRADAY_LOGGER_FLAGS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected io.deephaven.iris.db.gen.ProcessMetricsFormat1Logger.ISetterstatic Stringstatic StringintGet the log format (also called "application version") for this logger.protected TableWritergetTableWriter(IntradayLogger.TableWriterFactory tableWriterBuilder) voidlog(long timestamp, String processId, String name, String interval, String type, long n, long sum, long last, long min, long max, long avg, long sum2, long stdev) voidlog(Row.Flags flags, long timestamp, String processId, String name, String interval, String type, long n, long sum, long last, long min, long max, long avg, long sum2, long stdev) voidvoidprotected StringbooleanThis indicates whether or not the IntradayLogger instance is currently using row-based column partition selection.protected voidMethods inherited from class com.illumon.intradaylogger.IntradayLoggerImpl2
close, disableVerifyChecksum, flush, getWriterThread, init, init, init, init, isClosed, isInitialized, setOverflowThrottle, setStandaloneMode, shutdown, tryWrite, verifyCondition, waitDone, waitDoneMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.illumon.intradaylogger.IntradayLogger
close, getWriterThread, init, init, init, init, isClosed, setOverflowThrottle, shutdown, tryWrite, waitDone, waitDone
-
Field Details
-
_SCHEMA_
- See Also:
-
_CLASS_BODY_CRC32_
public static final long _CLASS_BODY_CRC32_- See Also:
-
-
Constructor Details
-
ProcessMetricsFormat1Logger
-
ProcessMetricsFormat1Logger
public ProcessMetricsFormat1Logger()
-
-
Method Details
-
usingDynamicPartitioning
public boolean usingDynamicPartitioning()Description copied from interface:IntradayLoggerThis indicates whether or not the IntradayLogger instance is currently using row-based column partition selection. An instance may support row-based partition selection but not be using it based on its initialization. This method will be used by generated loggers to know whether to set each row's column partition value based on the defined formula or method.- Specified by:
usingDynamicPartitioningin interfaceIntradayLogger- Returns:
- true if the logger is using row-based column partition selection
-
getLogFormat
public int getLogFormat()Description copied from interface:IntradayLoggerGet the log format (also called "application version") for this logger. May be used, for example, to segment log streams into multiple partitions by log format as part of a rollout strategy for new schema versions.- Specified by:
getLogFormatin interfaceIntradayLogger- Returns:
- The log format number
-
getDefaultNamespace
-
getDefaultTableName
-
verifyChecksum
- Specified by:
verifyChecksumin classIntradayLoggerImpl2<io.deephaven.iris.db.gen.ProcessMetricsFormat1Logger.ISetter>- Throws:
IOException
-
threadName
- Specified by:
threadNamein classIntradayLoggerImpl2<io.deephaven.iris.db.gen.ProcessMetricsFormat1Logger.ISetter>
-
getTableWriter
protected TableWriter getTableWriter(IntradayLogger.TableWriterFactory tableWriterBuilder) throws IOException - Specified by:
getTableWriterin classIntradayLoggerImpl2<io.deephaven.iris.db.gen.ProcessMetricsFormat1Logger.ISetter>- Throws:
IOException
-
createSetter
protected io.deephaven.iris.db.gen.ProcessMetricsFormat1Logger.ISetter createSetter()- Specified by:
createSetterin classIntradayLoggerImpl2<io.deephaven.iris.db.gen.ProcessMetricsFormat1Logger.ISetter>
-
log
public void log(long timestamp, String processId, String name, String interval, String type, long n, long sum, long last, long min, long max, long avg, long sum2, long stdev) throws IOException - Throws:
IOException
-
log
public void log(Row.Flags flags, long timestamp, String processId, String name, String interval, String type, long n, long sum, long last, long min, long max, long avg, long sum2, long stdev) throws IOException - Throws:
IOException
-
log
- Specified by:
login interfaceMultiArgLogger- Throws:
IOException
-
log
- Specified by:
login interfaceMultiArgLogger- Throws:
IOException
-