public class ChunkingAmqpWriter extends java.lang.Object implements IRawDataWriter
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONFIG_EXCHANGENAME
The name of the configuration property for the AMQP exchange name.
|
static java.lang.String |
CONFIG_HEARTBEAT
The name of the configuration property for the heartbeat timeout.
|
static java.lang.String |
CONFIG_QUEUENAME
The name of the configuration property for the AMQP queue name.
|
static java.lang.String |
CONFIG_URI
The name of the configuration property for the server URI.
|
| Constructor and Description |
|---|
ChunkingAmqpWriter(Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
onInitialization()
Called by the collector during initialization (before any records are written).
|
void |
onTermination()
Called by the collector upon termination (after remaining records have been flushed).
|
void |
writeData(java.nio.ByteBuffer buffer,
int offset,
int length)
Writes raw data contained in the given byte buffer.
|
public static final java.lang.String CONFIG_URI
public static final java.lang.String CONFIG_EXCHANGENAME
public static final java.lang.String CONFIG_QUEUENAME
public static final java.lang.String CONFIG_HEARTBEAT
public ChunkingAmqpWriter(Configuration configuration) throws java.security.KeyManagementException, java.security.NoSuchAlgorithmException, java.net.URISyntaxException, java.io.IOException, java.util.concurrent.TimeoutException
java.security.KeyManagementExceptionjava.security.NoSuchAlgorithmExceptionjava.net.URISyntaxExceptionjava.io.IOExceptionjava.util.concurrent.TimeoutExceptionpublic void onInitialization()
IRawDataWriteronInitialization in interface IRawDataWriterpublic void onTermination()
IRawDataWriteronTermination in interface IRawDataWriterpublic void writeData(java.nio.ByteBuffer buffer,
int offset,
int length)
IRawDataWriterwriteData in interface IRawDataWriterbuffer - The buffer containing the dataoffset - The offset in the buffer where the data startslength - The length of the data to writeCopyright 2017 Kieker Project, http://kieker-monitoring.net