Package io.deephaven.tablelogger
Interface TableLogger
- All Known Implementing Classes:
MemoryTableLogger
,TableLoggerImpl2
public interface TableLogger
All generated TableLoggers implement this interface.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Close the logger and any writer in use.void
init
(TableWriter tableWriter, int queueSize) boolean
isClosed()
void
shutdown()
Write all enqueued elements to theTableWriter
and prevent further writes.
-
Field Details
-
DEFAULT_INTRADAY_LOGGER_FLAGS
-
-
Method Details
-
init
- Throws:
IOException
-
isClosed
boolean isClosed() -
close
Close the logger and any writer in use. Users should quiesce all logging threads and invokeshutdown()
first in order to guarantee that all pending rows have been written to storage.- Throws:
IOException
- if an error occurred closing the logger.
-
shutdown
void shutdown()Write all enqueued elements to theTableWriter
and prevent further writes. This should be invoked beforeclose()
. This must not be invoked if any threads might still try to log additional items.
-