Uses of Interface
org.apache.logging.log4j.core.layout.ByteBufferDestination
Package
Description
Log4j 2 Appenders.
Rolling File Appender and support classes.
Log4j 2 Layout support.
Log4j 2 network support.
-
Uses of ByteBufferDestination in org.apache.logging.log4j.core.appender
Modifier and TypeClassDescriptionclass
Manages actual File I/O for File Appenders.class
Extends OutputStreamManager but instead of using a buffered output stream, this class maps a region of a file into memory and writes to this memory region.class
Manages an OutputStream so that it can be shared by multiple Appenders and will allow appenders to reconfigure without requiring a new stream.class
Extends OutputStreamManager but instead of using a buffered output stream, this class uses aByteBuffer
and aRandomAccessFile
to do the I/O. -
Uses of ByteBufferDestination in org.apache.logging.log4j.core.appender.rolling
Modifier and TypeClassDescriptionclass
The Rolling File Manager.class
Extends RollingFileManager but instead of using a buffered output stream, this class uses aByteBuffer
and aRandomAccessFile
to do the I/O. -
Uses of ByteBufferDestination in org.apache.logging.log4j.core.layout
Modifier and TypeMethodDescriptionvoid
AbstractLayout.encode
(LogEvent event, ByteBufferDestination destination) Encodes the specified source LogEvent to some binary representation and writes the result to the specified destination.void
Encoder.encode
(T source, ByteBufferDestination destination) Encodes the specified source object to some binary representation and writes the result to the specified destination.void
GelfLayout.encode
(LogEvent event, ByteBufferDestination destination) void
LockingStringBuilderEncoder.encode
(StringBuilder source, ByteBufferDestination destination) void
PatternLayout.encode
(LogEvent event, ByteBufferDestination destination) void
StringBuilderEncoder.encode
(StringBuilder source, ByteBufferDestination destination) static void
TextEncoderHelper.encodeText
(CharsetEncoder charsetEncoder, CharBuffer charBuf, ByteBuffer byteBuf, StringBuilder text, ByteBufferDestination destination) Converts the specified text to bytes and writes the resulting bytes to the specified destination.static void
TextEncoderHelper.encodeText
(CharsetEncoder charsetEncoder, CharBuffer charBuf, ByteBufferDestination destination) Deprecated.static void
ByteBufferDestinationHelper.writeToUnsynchronized
(byte[] data, int offset, int length, ByteBufferDestination destination) Writes the specified data to the specified destination.static void
ByteBufferDestinationHelper.writeToUnsynchronized
(ByteBuffer source, ByteBufferDestination destination) Writes the specified data to the specified destination. -
Uses of ByteBufferDestination in org.apache.logging.log4j.core.net
Modifier and TypeClassDescriptionclass
Abstract base class for managing sockets.class
Socket Manager for UDP connections.class
class
Manager of TCP Socket connections.