Package com.illumon.iris.db.gen
Class UpdatePerformanceLogFormat4Logger
java.lang.Object
com.illumon.intradaylogger.IntradayLoggerImpl2<com.illumon.iris.db.gen.UpdatePerformanceLogFormat4Logger.ISetter>
com.illumon.iris.db.gen.UpdatePerformanceLogFormat4Logger
- All Implemented Interfaces:
IntradayLogger,ThreeArgLogger<UpdatePerformanceTracker.InstanceLevelDetails,UpdatePerformanceTracker.IntervalLevelDetails, UpdatePerformanceTracker.Entry>
public class UpdatePerformanceLogFormat4Logger
extends IntradayLoggerImpl2<com.illumon.iris.db.gen.UpdatePerformanceLogFormat4Logger.ISetter>
implements ThreeArgLogger<UpdatePerformanceTracker.InstanceLevelDetails,UpdatePerformanceTracker.IntervalLevelDetails,UpdatePerformanceTracker.Entry>
-
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 com.illumon.iris.db.gen.UpdatePerformanceLogFormat4Logger.ISetterstatic Stringstatic StringintGet the log format (also called "application version") for this logger.protected TableWritergetTableWriter(IntradayLogger.TableWriterFactory tableWriterBuilder) voidlog(Row.Flags flags, UpdatePerformanceTracker.InstanceLevelDetails instanceLevelDetails, UpdatePerformanceTracker.IntervalLevelDetails intervalLevelDetails, UpdatePerformanceTracker.Entry performanceEntry) voidlog(UpdatePerformanceTracker.InstanceLevelDetails instanceLevelDetails, UpdatePerformanceTracker.IntervalLevelDetails intervalLevelDetails, UpdatePerformanceTracker.Entry performanceEntry) protected 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
-
UpdatePerformanceLogFormat4Logger
-
UpdatePerformanceLogFormat4Logger
public UpdatePerformanceLogFormat4Logger()
-
-
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<com.illumon.iris.db.gen.UpdatePerformanceLogFormat4Logger.ISetter>- Throws:
IOException
-
threadName
- Specified by:
threadNamein classIntradayLoggerImpl2<com.illumon.iris.db.gen.UpdatePerformanceLogFormat4Logger.ISetter>
-
getTableWriter
protected TableWriter getTableWriter(IntradayLogger.TableWriterFactory tableWriterBuilder) throws IOException - Specified by:
getTableWriterin classIntradayLoggerImpl2<com.illumon.iris.db.gen.UpdatePerformanceLogFormat4Logger.ISetter>- Throws:
IOException
-
createSetter
protected com.illumon.iris.db.gen.UpdatePerformanceLogFormat4Logger.ISetter createSetter()- Specified by:
createSetterin classIntradayLoggerImpl2<com.illumon.iris.db.gen.UpdatePerformanceLogFormat4Logger.ISetter>
-
log
public void log(UpdatePerformanceTracker.InstanceLevelDetails instanceLevelDetails, UpdatePerformanceTracker.IntervalLevelDetails intervalLevelDetails, UpdatePerformanceTracker.Entry performanceEntry) throws IOException - Specified by:
login interfaceThreeArgLogger<UpdatePerformanceTracker.InstanceLevelDetails,UpdatePerformanceTracker.IntervalLevelDetails, UpdatePerformanceTracker.Entry> - Throws:
IOException
-
log
public void log(Row.Flags flags, UpdatePerformanceTracker.InstanceLevelDetails instanceLevelDetails, UpdatePerformanceTracker.IntervalLevelDetails intervalLevelDetails, UpdatePerformanceTracker.Entry performanceEntry) throws IOException - Specified by:
login interfaceThreeArgLogger<UpdatePerformanceTracker.InstanceLevelDetails,UpdatePerformanceTracker.IntervalLevelDetails, UpdatePerformanceTracker.Entry> - Throws:
IOException
-