Package io.deephaven.io.log
Class LogSink.Null
- java.lang.Object
-
- io.deephaven.io.log.LogSink.Null
-
- All Implemented Interfaces:
LogSink
- Enclosing interface:
- LogSink<T extends LogSink.Element>
public static class LogSink.Null extends java.lang.Object implements LogSink
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.deephaven.io.log.LogSink
LogSink.Element, LogSink.Factory<T extends LogSink.Element>, LogSink.Interceptor<T extends LogSink.Element>, LogSink.LogSinkWriter<S extends LogSink<? extends LogSink.Element>>, LogSink.Null, LogSink.Shutdown
-
-
Constructor Summary
Constructors Constructor Description Null()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInterceptor(LogSink.Interceptor interceptor)You can add as many interceptors to a log sink as you like.voidshutdown()Shutdown cleanly, flushing all current elements.voidterminate()Shutdown aggressively, without trying to flush.voidwrite(LogSink.Element e)Write an element.
-
-
-
Method Detail
-
write
public void write(LogSink.Element e)
Description copied from interface:LogSinkWrite an element.
-
shutdown
public void shutdown()
Description copied from interface:LogSinkShutdown cleanly, flushing all current elements.
-
terminate
public void terminate()
Description copied from interface:LogSinkShutdown aggressively, without trying to flush.
-
addInterceptor
public void addInterceptor(LogSink.Interceptor interceptor)
Description copied from interface:LogSinkYou can add as many interceptors to a log sink as you like.- Specified by:
addInterceptorin interfaceLogSink
-
-