| Modifier and Type | Method and Description |
|---|---|
protected List<LogMessage> |
CloudWatchLogWriter.sendBatch(List<LogMessage> batch) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
CloudWatchLogWriter.effectiveSize(LogMessage message) |
| Modifier and Type | Method and Description |
|---|---|
protected List<LogMessage> |
CloudWatchLogWriter.sendBatch(List<LogMessage> batch) |
| Modifier and Type | Method and Description |
|---|---|
List<LogMessage> |
KinesisFacade.putRecords(List<LogMessage> batch)
Attempts to send records to the stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SNSFacade.publish(LogMessage message)
Attempts to publish the provided message, using configured topic and subject.
|
| Modifier and Type | Method and Description |
|---|---|
String |
CloudWatchFacade.putEvents(String sequenceToken,
List<LogMessage> messages)
Attempts to send a batch of messages.
|
List<LogMessage> |
KinesisFacade.putRecords(List<LogMessage> batch)
Attempts to send records to the stream.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<LogMessage> |
AbstractLogWriter.buildBatch(long waitUntil)
Attempts to read a list of messages from the queue.
|
protected abstract List<LogMessage> |
AbstractLogWriter.sendBatch(List<LogMessage> currentBatch)
Sends a batch of messages.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractLogWriter.addMessage(LogMessage message) |
protected abstract int |
AbstractLogWriter.effectiveSize(LogMessage message)
Calculates the effective size of the message.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract List<LogMessage> |
AbstractLogWriter.sendBatch(List<LogMessage> currentBatch)
Sends a batch of messages.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<LogMessage> |
KinesisLogWriter.sendBatch(List<LogMessage> currentBatch) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
KinesisLogWriter.effectiveSize(LogMessage message) |
| Modifier and Type | Method and Description |
|---|---|
protected List<LogMessage> |
KinesisLogWriter.sendBatch(List<LogMessage> currentBatch) |
| Modifier and Type | Method and Description |
|---|---|
protected List<LogMessage> |
SNSLogWriter.sendBatch(List<LogMessage> currentBatch) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
SNSLogWriter.effectiveSize(LogMessage message) |
| Modifier and Type | Method and Description |
|---|---|
protected List<LogMessage> |
SNSLogWriter.sendBatch(List<LogMessage> currentBatch) |
| Modifier and Type | Method and Description |
|---|---|
void |
LogWriter.addMessage(LogMessage message)
Adds a message to the writer's message queue.
|
int |
LogMessage.compareTo(LogMessage that)
Compares instances based on their timestamp.
|
| Modifier and Type | Method and Description |
|---|---|
LogMessage |
MessageQueue.dequeue()
Removes a message from the front of the queue.
|
LogMessage |
MessageQueue.dequeue(long waitTime)
Removes a message from the front of the queue, waiting for a specified number of
milliseconds if the queue is empty.
|
| Modifier and Type | Method and Description |
|---|---|
List<LogMessage> |
MessageQueue.toList()
Copies the current queue contents into a List.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MessageQueue.enqueue(LogMessage message)
Adds a message to the end of the queue.
|
void |
MessageQueue.requeue(LogMessage message)
Adds a message to the start of the queue.
|
Copyright © 2023. All rights reserved.