io.deephaven.engine.tablelogger.ProcessInfoLogLogger Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of deephaven-engine-table Show documentation
Show all versions of deephaven-engine-table Show documentation
Engine Table: Implementation and closely-coupled utilities
package io.deephaven.engine.tablelogger;
import io.deephaven.tablelogger.Row;
import io.deephaven.tablelogger.Row.Flags;
import java.io.IOException;
import static io.deephaven.tablelogger.TableLogger.DEFAULT_INTRADAY_LOGGER_FLAGS;
/**
* Logs data that describes JVM parameters. This is useful to check a worker's configuration.
*/
public interface ProcessInfoLogLogger {
default void log(final String id, final String type, final String key, final String value) throws IOException {
log(DEFAULT_INTRADAY_LOGGER_FLAGS, id, type, key, value);
}
void log(final Row.Flags flags, final String id, final String type, final String key, final String value)
throws IOException;
enum Noop implements ProcessInfoLogLogger {
INSTANCE;
@Override
public void log(Flags flags, String id, String type, String key, String value) throws IOException {
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy