public interface FeedbackChannel
Modifier and Type | Method and Description |
---|---|
void |
sendFeedback()
Synchronizes the current feedback with the server(s), ensuring that those servers have the same (snapshot of)
feedback data as the agent currently has.
|
void |
write(int type,
java.util.Map<java.lang.String,java.lang.String> properties)
Logs a new message to this feedback channel.
|
void sendFeedback() throws RetryAfterException, java.io.IOException
RetryAfterException
java.io.IOException
void write(int type, java.util.Map<java.lang.String,java.lang.String> properties) throws java.io.IOException
type
- the type of the log-event to write;properties
- the actual contents of the message to write, cannot be null
.java.io.IOException