Package kieker.monitoring.writer
Class WriterUtil
java.lang.Object
kieker.monitoring.writer.WriterUtil
public final class WriterUtil
extends java.lang.Object
- Since:
- 1.13
- Author:
- Christian Wulf
-
Method Summary
Modifier and Type Method Description static void
close(java.io.Closeable closeable, org.slf4j.Logger logger)
static long
flushBuffer(java.nio.ByteBuffer buffer, java.nio.channels.WritableByteChannel writableChannel, org.slf4j.Logger logger)
-
Method Details
-
flushBuffer
public static long flushBuffer(java.nio.ByteBuffer buffer, java.nio.channels.WritableByteChannel writableChannel, org.slf4j.Logger logger)- Returns:
- the number of bytes written from the buffer to the channel
-
close
public static void close(java.io.Closeable closeable, org.slf4j.Logger logger)
-