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
  • Field Details

  • Constructor Details

    • ProcessMetricsFormat1Logger

      public ProcessMetricsFormat1Logger(String timeZoneName)
    • ProcessMetricsFormat1Logger

      public ProcessMetricsFormat1Logger()
  • Method Details

    • usingDynamicPartitioning

      public boolean usingDynamicPartitioning()
      Description copied from interface: IntradayLogger
      This 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:
      usingDynamicPartitioning in interface IntradayLogger
      Returns:
      true if the logger is using row-based column partition selection
    • getLogFormat

      public int getLogFormat()
      Description copied from interface: IntradayLogger
      Get 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:
      getLogFormat in interface IntradayLogger
      Returns:
      The log format number
    • getDefaultNamespace

      public static String getDefaultNamespace()
    • getDefaultTableName

      public static String getDefaultTableName()
    • verifyChecksum

      protected void verifyChecksum() throws IOException
      Specified by:
      verifyChecksum in class IntradayLoggerImpl2<io.deephaven.iris.db.gen.ProcessMetricsFormat1Logger.ISetter>
      Throws:
      IOException
    • threadName

      protected String threadName()
      Specified by:
      threadName in class IntradayLoggerImpl2<io.deephaven.iris.db.gen.ProcessMetricsFormat1Logger.ISetter>
    • getTableWriter

      protected TableWriter getTableWriter(IntradayLogger.TableWriterFactory tableWriterBuilder) throws IOException
      Specified by:
      getTableWriter in class IntradayLoggerImpl2<io.deephaven.iris.db.gen.ProcessMetricsFormat1Logger.ISetter>
      Throws:
      IOException
    • createSetter

      protected io.deephaven.iris.db.gen.ProcessMetricsFormat1Logger.ISetter createSetter()
      Specified by:
      createSetter in class IntradayLoggerImpl2<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

      public void log(Object... args) throws IOException
      Specified by:
      log in interface MultiArgLogger
      Throws:
      IOException
    • log

      public void log(Row.Flags flags, Object... args) throws IOException
      Specified by:
      log in interface MultiArgLogger
      Throws:
      IOException