- generateWriterConfig() - Method in class com.kdgregory.log4j.aws.CloudWatchAppender
-
- generateWriterConfig() - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractAppender
-
Called just before a writer is created, so that the subclass can
perform substitutions on the configuration.
- generateWriterConfig() - Method in class com.kdgregory.log4j.aws.KinesisAppender
-
- generateWriterConfig() - Method in class com.kdgregory.log4j.aws.SNSAppender
-
- getActualLogGroupName() - Method in class com.kdgregory.log4j.aws.internal.cloudwatch.CloudWatchAppenderStatistics
-
- getActualLogGroupName() - Method in interface com.kdgregory.log4j.aws.internal.cloudwatch.CloudWatchAppenderStatisticsMXBean
-
Returns the actual log group name for the appender, after substitutions.
- getActualLogStreamName() - Method in class com.kdgregory.log4j.aws.internal.cloudwatch.CloudWatchAppenderStatistics
-
- getActualLogStreamName() - Method in interface com.kdgregory.log4j.aws.internal.cloudwatch.CloudWatchAppenderStatisticsMXBean
-
Returns the actual log stream name for the appender, after substitutions.
- getActualStreamName() - Method in class com.kdgregory.log4j.aws.internal.kinesis.KinesisAppenderStatistics
-
- getActualStreamName() - Method in interface com.kdgregory.log4j.aws.internal.kinesis.KinesisAppenderStatisticsMXBean
-
Returns the actual log stream name used by the writer.
- getActualTopicArn() - Method in class com.kdgregory.log4j.aws.internal.sns.SNSAppenderStatistics
-
- getActualTopicArn() - Method in interface com.kdgregory.log4j.aws.internal.sns.SNSAppenderStatisticsMXBean
-
Returns the actual topic ARN used by the writer (after substitutions on
the topic name).
- getActualTopicName() - Method in class com.kdgregory.log4j.aws.internal.sns.SNSAppenderStatistics
-
- getActualTopicName() - Method in interface com.kdgregory.log4j.aws.internal.sns.SNSAppenderStatisticsMXBean
-
Returns the actual topic name used by the writer (after substitutions).
- getAppenderStatistics() - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractAppender
-
Returns the appender statistics object.
- getAppendNewlines() - Method in class com.kdgregory.log4j.aws.JsonLayout
-
- getAttribute(String) - Method in class com.kdgregory.log4j.aws.StatisticsMBean
-
- getAttributes(String[]) - Method in class com.kdgregory.log4j.aws.StatisticsMBean
-
- getAutoCreate() - Method in class com.kdgregory.log4j.aws.SNSAppender
-
Returns the auto-create flag.
- getBatchCount() - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractLogWriter
-
Returns the number of batches processed.
- getBatchDelay() - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractAppender
-
- getBatchDelay() - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractLogWriter
-
Returns the current batch delay.
- getBytes() - Method in class com.kdgregory.log4j.aws.internal.shared.LogMessage
-
Returns the UTF-8 message bytes.
- getClientEndpoint() - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractAppender
-
Returns the current service endpoint.
- getClientFactory() - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractAppender
-
Returns the current AWS client factory class/method name.
- getClientFactoryUsed() - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractLogWriter
-
Returns the factory method used to create the client, if any.
- getDiscardAction() - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractAppender
-
Returns the configured discard action.
- getDiscardAction() - Method in class com.kdgregory.log4j.aws.internal.shared.MessageQueue
-
Returns the current discard action; this is intended for testing.
- getDiscardThreshold() - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractAppender
-
Returns the configured discard threshold.
- getDiscardThreshold() - Method in class com.kdgregory.log4j.aws.internal.shared.MessageQueue
-
Returns the current discard threshold; this is intended for testing.
- getDroppedMessageCount() - Method in class com.kdgregory.log4j.aws.internal.shared.MessageQueue
-
Returns the number of messages that have been dropped.
- getEnableHostname() - Method in class com.kdgregory.log4j.aws.JsonLayout
-
- getEnableInstanceId() - Method in class com.kdgregory.log4j.aws.JsonLayout
-
- getEnableLocation() - Method in class com.kdgregory.log4j.aws.JsonLayout
-
- getInstance() - Static method in class com.kdgregory.log4j.aws.internal.shared.JMXManager
-
- getLastError() - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractAppenderStatistics
-
- getLastErrorMessage() - Method in interface com.kdgregory.log4j.aws.internal.cloudwatch.CloudWatchAppenderStatisticsMXBean
-
Returns the most recent error from the writer.
- getLastErrorMessage() - Method in interface com.kdgregory.log4j.aws.internal.kinesis.KinesisAppenderStatisticsMXBean
-
Returns the most recent error from the writer.
- getLastErrorMessage() - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractAppenderStatistics
-
- getLastErrorMessage() - Method in interface com.kdgregory.log4j.aws.internal.sns.SNSAppenderStatisticsMXBean
-
Returns the most recent error from the writer.
- getLastErrorStacktrace() - Method in interface com.kdgregory.log4j.aws.internal.cloudwatch.CloudWatchAppenderStatisticsMXBean
-
Returns the stack trace of the most recent error from the writer.
- getLastErrorStacktrace() - Method in interface com.kdgregory.log4j.aws.internal.kinesis.KinesisAppenderStatisticsMXBean
-
Returns the stack trace of the most recent error from the writer.
- getLastErrorStacktrace() - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractAppenderStatistics
-
- getLastErrorStacktrace() - Method in interface com.kdgregory.log4j.aws.internal.sns.SNSAppenderStatisticsMXBean
-
Returns the stack trace of the most recent error from the writer.
- getLastErrorTimestamp() - Method in interface com.kdgregory.log4j.aws.internal.cloudwatch.CloudWatchAppenderStatisticsMXBean
-
Returns the timestamp of the most recent error from the writer.
- getLastErrorTimestamp() - Method in interface com.kdgregory.log4j.aws.internal.kinesis.KinesisAppenderStatisticsMXBean
-
Returns the timestamp of the most recent error from the writer.
- getLastErrorTimestamp() - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractAppenderStatistics
-
- getLastErrorTimestamp() - Method in interface com.kdgregory.log4j.aws.internal.sns.SNSAppenderStatisticsMXBean
-
Returns the timestamp of the most recent error from the writer.
- getLogGroup() - Method in class com.kdgregory.log4j.aws.CloudWatchAppender
-
- getLogStream() - Method in class com.kdgregory.log4j.aws.CloudWatchAppender
-
- getMBeanInfo() - Method in class com.kdgregory.log4j.aws.StatisticsMBean
-
- getMessage() - Method in class com.kdgregory.log4j.aws.internal.shared.LogMessage
-
Returns the original message string.
- getMessagesDiscarded() - Method in interface com.kdgregory.log4j.aws.internal.kinesis.KinesisAppenderStatisticsMXBean
-
Returns the number of messages discarded by the message queue.
- getMessagesDiscarded() - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractAppenderStatistics
-
Returns the number of messages discarded by the current writer's message queue.
- getMessagesDiscarded() - Method in interface com.kdgregory.log4j.aws.internal.sns.SNSAppenderStatisticsMXBean
-
Returns the number of messages discarded by the message queue.
- getMessagesDiscardedByCurrentWriter() - Method in class com.kdgregory.log4j.aws.internal.cloudwatch.CloudWatchAppenderStatistics
-
- getMessagesDiscardedByCurrentWriter() - Method in interface com.kdgregory.log4j.aws.internal.cloudwatch.CloudWatchAppenderStatisticsMXBean
-
Returns the number of messages discarded by the current writer's message queue.
- getMessagesSent() - Method in interface com.kdgregory.log4j.aws.internal.cloudwatch.CloudWatchAppenderStatisticsMXBean
-
Returns the number of messages successfully sent to the logstream, by all
writers.
- getMessagesSent() - Method in interface com.kdgregory.log4j.aws.internal.kinesis.KinesisAppenderStatisticsMXBean
-
Returns the number of messages successfully sent to the stream.
- getMessagesSent() - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractAppenderStatistics
-
- getMessagesSent() - Method in interface com.kdgregory.log4j.aws.internal.sns.SNSAppenderStatisticsMXBean
-
Returns the number of messages successfully sent to the topic.
- getPartitionKey() - Method in class com.kdgregory.log4j.aws.KinesisAppender
-
- getRetentionPeriod() - Method in class com.kdgregory.log4j.aws.KinesisAppender
-
Returns the configured retention period.
- getRotationInterval() - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractAppender
-
Returns the current rotation interval.
- getRotationMode() - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractAppender
-
Returns the current rotation mode.
- getSequence() - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractAppender
-
Returns the current log sequence number.
- getShardCount() - Method in class com.kdgregory.log4j.aws.KinesisAppender
-
Returns the configured number of shards for the stream.
- getStreamName() - Method in class com.kdgregory.log4j.aws.KinesisAppender
-
- getSubject() - Method in class com.kdgregory.log4j.aws.SNSAppender
-
Returns the current subject value, as set.
- getTags() - Method in class com.kdgregory.log4j.aws.JsonLayout
-
- getTimestamp() - Method in class com.kdgregory.log4j.aws.internal.shared.LogMessage
-
Returns the timestamp of the original logging event.
- getTopicArn() - Method in class com.kdgregory.log4j.aws.SNSAppender
-
Returns the configured topic ARN, without substitutions applied.
- getTopicName() - Method in class com.kdgregory.log4j.aws.SNSAppender
-
Returns the configured topic name, without substitutions applied.
- sequence - Variable in class com.kdgregory.log4j.aws.internal.shared.AbstractAppender
-
- setActualLogGroupName(String) - Method in class com.kdgregory.log4j.aws.internal.cloudwatch.CloudWatchAppenderStatistics
-
- setActualLogStreamName(String) - Method in class com.kdgregory.log4j.aws.internal.cloudwatch.CloudWatchAppenderStatistics
-
- setActualStreamName(String) - Method in class com.kdgregory.log4j.aws.internal.kinesis.KinesisAppenderStatistics
-
- setActualTopicArn(String) - Method in class com.kdgregory.log4j.aws.internal.sns.SNSAppenderStatistics
-
- setActualTopicName(String) - Method in class com.kdgregory.log4j.aws.internal.sns.SNSAppenderStatistics
-
- setAppendNewlines(boolean) - Method in class com.kdgregory.log4j.aws.JsonLayout
-
- setAttribute(Attribute) - Method in class com.kdgregory.log4j.aws.StatisticsMBean
-
- setAttributes(AttributeList) - Method in class com.kdgregory.log4j.aws.StatisticsMBean
-
- setAutoCreate(boolean) - Method in class com.kdgregory.log4j.aws.KinesisAppender
-
Sets the auto-creation policy: if true, the stream will be created
if it does not already exist.
- setAutoCreate(boolean) - Method in class com.kdgregory.log4j.aws.SNSAppender
-
Sets the auto-create flag: if the topic is specified by name and does
not already exist, the writer will attempt to create it.
- setBatchDelay(long) - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractAppender
-
Sets the maximum batch delay, in milliseconds.
- setBatchDelay(long) - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractLogWriter
-
- setBatchDelay(long) - Method in interface com.kdgregory.log4j.aws.internal.shared.LogWriter
-
Sets the batch delay for the writer.
- setBatchDelay(long) - Method in class com.kdgregory.log4j.aws.SNSAppender
-
Any configured batch delay will be ignored; the appender attempts to send
all messages as soon as they are appended.
- setClientEndpoint(String) - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractAppender
-
Sets the service endpoint.
- setClientFactory(String) - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractAppender
-
Sets a static AWS client factory method, which will be called instead of
the writer's internal client factory.
- setDiscardAction(String) - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractAppender
-
Sets the action to take when the number of unsent messages exceeds the discard
threshold.
- setDiscardAction(MessageQueue.DiscardAction) - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractLogWriter
-
- setDiscardAction(MessageQueue.DiscardAction) - Method in interface com.kdgregory.log4j.aws.internal.shared.LogWriter
-
Updates the writer's discard action: how it discards messages once the threshold
has been reached.
- setDiscardAction(MessageQueue.DiscardAction) - Method in class com.kdgregory.log4j.aws.internal.shared.MessageQueue
-
Changes the discard action
- setDiscardThreshold(int) - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractAppender
-
Sets the number of unsent messages that will trigger message discard.
- setDiscardThreshold(int) - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractLogWriter
-
- setDiscardThreshold(int) - Method in interface com.kdgregory.log4j.aws.internal.shared.LogWriter
-
Updates the writer's discard threshold: the maximum number of message stored
in its queue.
- setDiscardThreshold(int) - Method in class com.kdgregory.log4j.aws.internal.shared.MessageQueue
-
Changes the discard threshold.
- setEnableHostname(boolean) - Method in class com.kdgregory.log4j.aws.JsonLayout
-
- setEnableInstanceId(boolean) - Method in class com.kdgregory.log4j.aws.JsonLayout
-
- setEnableLocation(boolean) - Method in class com.kdgregory.log4j.aws.JsonLayout
-
- setLastError(String, Throwable) - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractAppenderStatistics
-
Sets the last error.
- setLogGroup(String) - Method in class com.kdgregory.log4j.aws.CloudWatchAppender
-
Sets the CloudWatch Log Group associated with this appender.
- setLogStream(String) - Method in class com.kdgregory.log4j.aws.CloudWatchAppender
-
Sets the CloudWatch Log Stream associated with this appender.
- setMessageQueue(MessageQueue) - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractAppenderStatistics
-
Stores the current writer's message queue.
- setPartitionKey(String) - Method in class com.kdgregory.log4j.aws.KinesisAppender
-
Sets the partition key associated with this appender.
- setRetentionPeriod(int) - Method in class com.kdgregory.log4j.aws.KinesisAppender
-
Sets the message retention period, in hours.
- setRotationInterval(long) - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractAppender
-
Sets the rotation interval, for those appenders that support rotation.
- setRotationMode(String) - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractAppender
-
Sets the rule for log stream rotation, for those appenders that support rotation.
- setSequence(int) - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractAppender
-
Sets the log sequence number, used by the {sequence} substitution variable.
- setShardCount(int) - Method in class com.kdgregory.log4j.aws.KinesisAppender
-
Sets the desired number of shards to use when creating the stream.
- setStreamName(String) - Method in class com.kdgregory.log4j.aws.KinesisAppender
-
Sets the Kinesis Stream name associated with this appender.
- setSubject(String) - Method in class com.kdgregory.log4j.aws.SNSAppender
-
Sets the subject that will be applied to messages; blank disables subjects.
- setTags(String) - Method in class com.kdgregory.log4j.aws.JsonLayout
-
- setTopicArn(String) - Method in class com.kdgregory.log4j.aws.SNSAppender
-
Specifies the destination topic by ARN; the topic must already exist.
- setTopicName(String) - Method in class com.kdgregory.log4j.aws.SNSAppender
-
Sets the topic name.
- shardCount - Variable in class com.kdgregory.log4j.aws.internal.kinesis.KinesisWriterConfig
-
- size() - Method in class com.kdgregory.log4j.aws.internal.shared.LogMessage
-
Returns the size of the message after conversion to UTF-8.
- size() - Method in class com.kdgregory.log4j.aws.internal.shared.MessageQueue
-
Returns the current number of elements in the queue, as recorded by the atomic
counter.
- sleepQuietly(long) - Static method in class com.kdgregory.log4j.aws.internal.shared.Utils
-
Sleeps until the specified time elapses or the thread is interrupted.
- SNSAppender - Class in com.kdgregory.log4j.aws
-
Writes messages to Amazon's Simple Notification Service.
- SNSAppender() - Constructor for class com.kdgregory.log4j.aws.SNSAppender
-
- SNSAppenderStatistics - Class in com.kdgregory.log4j.aws.internal.sns
-
- SNSAppenderStatistics() - Constructor for class com.kdgregory.log4j.aws.internal.sns.SNSAppenderStatistics
-
- SNSAppenderStatisticsMXBean - Interface in com.kdgregory.log4j.aws.internal.sns
-
- SNSConstants - Class in com.kdgregory.log4j.aws.internal.sns
-
Holds limits and other constants for SNS.
- SNSConstants() - Constructor for class com.kdgregory.log4j.aws.internal.sns.SNSConstants
-
- SNSLogWriter - Class in com.kdgregory.log4j.aws.internal.sns
-
- SNSLogWriter(SNSWriterConfig, SNSAppenderStatistics) - Constructor for class com.kdgregory.log4j.aws.internal.sns.SNSLogWriter
-
- SNSWriterConfig - Class in com.kdgregory.log4j.aws.internal.sns
-
Holds configuration for the LogWriter.
- SNSWriterConfig(String, String, boolean, String, int, MessageQueue.DiscardAction, String, String) - Constructor for class com.kdgregory.log4j.aws.internal.sns.SNSWriterConfig
-
- SNSWriterFactory - Class in com.kdgregory.log4j.aws.internal.sns
-
- SNSWriterFactory() - Constructor for class com.kdgregory.log4j.aws.internal.sns.SNSWriterFactory
-
- startLoggingThread(LogWriter, Thread.UncaughtExceptionHandler) - Method in class com.kdgregory.log4j.aws.internal.shared.DefaultThreadFactory
-
- startLoggingThread(LogWriter, Thread.UncaughtExceptionHandler) - Method in interface com.kdgregory.log4j.aws.internal.shared.ThreadFactory
-
- StatisticsMBean - Class in com.kdgregory.log4j.aws
-
This class provides a bridge between an appenders and an MBeanServer.
- StatisticsMBean() - Constructor for class com.kdgregory.log4j.aws.StatisticsMBean
-
- stop() - Method in class com.kdgregory.log4j.aws.internal.shared.AbstractLogWriter
-
- stop() - Method in interface com.kdgregory.log4j.aws.internal.shared.LogWriter
-
Signals the writer that it will no longer receive batches.
- streamName - Variable in class com.kdgregory.log4j.aws.internal.kinesis.KinesisWriterConfig
-
- subject - Variable in class com.kdgregory.log4j.aws.internal.sns.SNSWriterConfig
-
- Substitutions - Class in com.kdgregory.log4j.aws.internal.shared
-
Handles the standard substitution variables.
- Substitutions(Date, int) - Constructor for class com.kdgregory.log4j.aws.internal.shared.Substitutions
-