- getActualLogGroupName() - Method in class com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterStatistics
-
- getActualLogGroupName() - Method in interface com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterStatisticsMXBean
-
Returns the actual log group name for the appender, after substitutions.
- getActualLogStreamName() - Method in class com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterStatistics
-
- getActualLogStreamName() - Method in interface com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterStatisticsMXBean
-
Returns the actual log stream name for the appender, after substitutions.
- getActualStreamName() - Method in class com.kdgregory.logging.aws.kinesis.KinesisWriterStatistics
-
- getActualStreamName() - Method in interface com.kdgregory.logging.aws.kinesis.KinesisWriterStatisticsMXBean
-
Returns the actual log stream name used by the writer.
- getActualSubject() - Method in class com.kdgregory.logging.aws.sns.SNSWriterStatistics
-
- getActualSubject() - Method in interface com.kdgregory.logging.aws.sns.SNSWriterStatisticsMXBean
-
Returns the actual subject used by the writer (after substitutions).
- getActualTimeout() - Method in exception com.kdgregory.logging.common.util.RetryManager2.TimeoutException
-
Returns the instant when the RetryManager decided to abort the operation.
- getActualTopicArn() - Method in class com.kdgregory.logging.aws.sns.SNSWriterStatistics
-
- getActualTopicArn() - Method in interface com.kdgregory.logging.aws.sns.SNSWriterStatisticsMXBean
-
Returns the actual topic ARN used by the writer (after substitutions).
- getActualTopicName() - Method in class com.kdgregory.logging.aws.sns.SNSWriterStatistics
-
- getActualTopicName() - Method in interface com.kdgregory.logging.aws.sns.SNSWriterStatisticsMXBean
-
Returns the actual topic name used by the writer (after substitutions).
- getAssumedRole() - Method in class com.kdgregory.logging.aws.internal.AbstractWriterConfig
-
- getAttribute(String) - Method in class com.kdgregory.logging.aws.internal.AbstractMarkerBean
-
- getAttributes(String[]) - Method in class com.kdgregory.logging.aws.internal.AbstractMarkerBean
-
- getAutoCreate() - Method in class com.kdgregory.logging.aws.kinesis.KinesisWriterConfig
-
- getAutoCreate() - Method in class com.kdgregory.logging.aws.sns.SNSWriterConfig
-
- getBatchCount() - Method in class com.kdgregory.logging.aws.internal.AbstractLogWriter
-
Returns the number of batches processed.
- getBatchDelay() - Method in class com.kdgregory.logging.aws.internal.AbstractLogWriter
-
Returns the current batch delay.
- getBatchDelay() - Method in class com.kdgregory.logging.aws.internal.AbstractWriterConfig
-
- getBytes() - Method in class com.kdgregory.logging.common.LogMessage
-
Returns the UTF-8 message bytes.
- getClientEndpoint() - Method in class com.kdgregory.logging.aws.internal.AbstractWriterConfig
-
- getClientFactoryMethod() - Method in class com.kdgregory.logging.aws.internal.AbstractWriterConfig
-
- getClientRegion() - Method in class com.kdgregory.logging.aws.internal.AbstractWriterConfig
-
- getDedicatedWriter() - Method in class com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterConfig
-
- getDiscardAction() - Method in class com.kdgregory.logging.aws.internal.AbstractWriterConfig
-
- getDiscardAction() - Method in class com.kdgregory.logging.common.util.MessageQueue
-
Returns the current discard action; this is intended for testing.
- getDiscardThreshold() - Method in class com.kdgregory.logging.aws.internal.AbstractWriterConfig
-
- getDiscardThreshold() - Method in class com.kdgregory.logging.common.util.MessageQueue
-
Returns the current discard threshold; this is intended for testing.
- getDroppedMessageCount() - Method in class com.kdgregory.logging.common.util.MessageQueue
-
Returns the number of messages that have been dropped.
- getEnableBatchLogging() - Method in class com.kdgregory.logging.aws.internal.AbstractWriterConfig
-
- getExpectedTimeout() - Method in exception com.kdgregory.logging.common.util.RetryManager2.TimeoutException
-
Returns the instant provided to the RetryManager as a timeout limit.
- getFunctionName() - Method in exception com.kdgregory.logging.aws.facade.FacadeException
-
Returns the function that throw this exception (included for completeness).
- getInitializationTimeout() - Method in class com.kdgregory.logging.aws.internal.AbstractWriterConfig
-
- getLastBatchSize() - Method in interface com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterStatisticsMXBean
-
Returns the number of messages in the most recent batch.
- getLastBatchSize() - Method in class com.kdgregory.logging.aws.internal.AbstractWriterStatistics
-
- getLastBatchSize() - Method in interface com.kdgregory.logging.aws.kinesis.KinesisWriterStatisticsMXBean
-
Returns the number of messages in the most recent batch.
- getLastBatchSize() - Method in interface com.kdgregory.logging.aws.sns.SNSWriterStatisticsMXBean
-
Returns the number of messages in the most recent batch.
- getLastError() - Method in class com.kdgregory.logging.aws.internal.AbstractWriterStatistics
-
- getLastErrorMessage() - Method in interface com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterStatisticsMXBean
-
Returns the most recent error from the writer.
- getLastErrorMessage() - Method in class com.kdgregory.logging.aws.internal.AbstractWriterStatistics
-
- getLastErrorMessage() - Method in interface com.kdgregory.logging.aws.kinesis.KinesisWriterStatisticsMXBean
-
Returns the most recent error from the writer.
- getLastErrorMessage() - Method in interface com.kdgregory.logging.aws.sns.SNSWriterStatisticsMXBean
-
Returns the most recent error from the writer.
- getLastErrorStacktrace() - Method in interface com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterStatisticsMXBean
-
Returns the stack trace of the most recent error from the writer.
- getLastErrorStacktrace() - Method in class com.kdgregory.logging.aws.internal.AbstractWriterStatistics
-
- getLastErrorStacktrace() - Method in interface com.kdgregory.logging.aws.kinesis.KinesisWriterStatisticsMXBean
-
Returns the stack trace of the most recent error from the writer.
- getLastErrorStacktrace() - Method in interface com.kdgregory.logging.aws.sns.SNSWriterStatisticsMXBean
-
Returns the stack trace of the most recent error from the writer.
- getLastErrorTimestamp() - Method in interface com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterStatisticsMXBean
-
Returns the timestamp of the most recent error from the writer.
- getLastErrorTimestamp() - Method in class com.kdgregory.logging.aws.internal.AbstractWriterStatistics
-
- getLastErrorTimestamp() - Method in interface com.kdgregory.logging.aws.kinesis.KinesisWriterStatisticsMXBean
-
Returns the timestamp of the most recent error from the writer.
- getLastErrorTimestamp() - Method in interface com.kdgregory.logging.aws.sns.SNSWriterStatisticsMXBean
-
Returns the timestamp of the most recent error from the writer.
- getLength() - Method in class com.kdgregory.logging.aws.kinesis.PartitionKeyHelper
-
Returns the length of the partition key.
- getLogGroupName() - Method in class com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterConfig
-
- getLogStreamName() - Method in class com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterConfig
-
- getMBeanInfo() - Method in class com.kdgregory.logging.aws.internal.AbstractMarkerBean
-
- getMessage() - Method in class com.kdgregory.logging.common.LogMessage
-
Returns the original message string.
- getMessage() - Method in exception com.kdgregory.logging.common.util.RetryManager2.TimeoutException
-
- getMessagesDiscarded() - Method in class com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterStatistics
-
- getMessagesDiscarded() - Method in interface com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterStatisticsMXBean
-
Returns the number of messages discarded by the current writer's message queue.
- getMessagesDiscarded() - Method in class com.kdgregory.logging.aws.internal.AbstractWriterStatistics
-
- getMessagesDiscarded() - Method in interface com.kdgregory.logging.aws.kinesis.KinesisWriterStatisticsMXBean
-
Returns the number of messages discarded by the writer's message queue.
- getMessagesDiscarded() - Method in interface com.kdgregory.logging.aws.sns.SNSWriterStatisticsMXBean
-
Returns the number of messages discarded by the writer's message queue.
- getMessagesRequeuedLastBatch() - Method in interface com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterStatisticsMXBean
-
Returns the number of messages requeued because they could not be sent.
- getMessagesRequeuedLastBatch() - Method in class com.kdgregory.logging.aws.internal.AbstractWriterStatistics
-
- getMessagesRequeuedLastBatch() - Method in interface com.kdgregory.logging.aws.kinesis.KinesisWriterStatisticsMXBean
-
Returns the number of messages requeued because they could not be sent.
- getMessagesRequeuedLastBatch() - Method in interface com.kdgregory.logging.aws.sns.SNSWriterStatisticsMXBean
-
Returns the number of messages requeued because they could not be sent.
- getMessagesSent() - Method in interface com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterStatisticsMXBean
-
Returns the number of messages successfully sent to the logstream, by the
current writer.
- getMessagesSent() - Method in class com.kdgregory.logging.aws.internal.AbstractWriterStatistics
-
- getMessagesSent() - Method in interface com.kdgregory.logging.aws.kinesis.KinesisWriterStatisticsMXBean
-
Returns the number of messages successfully sent to the stream.
- getMessagesSent() - Method in interface com.kdgregory.logging.aws.sns.SNSWriterStatisticsMXBean
-
Returns the number of messages successfully sent to the topic.
- getMessagesSentLastBatch() - Method in interface com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterStatisticsMXBean
-
Returns the number of messages successfully sent to the logstream in the last
batch.
- getMessagesSentLastBatch() - Method in class com.kdgregory.logging.aws.internal.AbstractWriterStatistics
-
- getMessagesSentLastBatch() - Method in interface com.kdgregory.logging.aws.kinesis.KinesisWriterStatisticsMXBean
-
Returns the number of messages successfully sent to the stream in the last
batch.
- getMessagesSentLastBatch() - Method in interface com.kdgregory.logging.aws.sns.SNSWriterStatisticsMXBean
-
Returns the number of messages successfully sent to the logstream in the last
batch.
- getOperation() - Method in exception com.kdgregory.logging.common.util.RetryManager2.TimeoutException
-
Returns the name of the operation that timed out.
- getOversizeMessages() - Method in interface com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterStatisticsMXBean
-
Returns the number of messages that were either dropped or truncated because
they were too large for the service to accept.
- getOversizeMessages() - Method in class com.kdgregory.logging.aws.internal.AbstractWriterStatistics
-
- getOversizeMessages() - Method in interface com.kdgregory.logging.aws.kinesis.KinesisWriterStatisticsMXBean
-
Returns the number of messages that were either dropped or truncated because
they were too large for the service to accept.
- getOversizeMessages() - Method in interface com.kdgregory.logging.aws.sns.SNSWriterStatisticsMXBean
-
Returns the number of messages that were either dropped or truncated because
they were too large for the service to accept.
- getPartitionKey() - Method in class com.kdgregory.logging.aws.kinesis.KinesisWriterConfig
-
- getPartitionKeyHelper() - Method in class com.kdgregory.logging.aws.kinesis.KinesisWriterConfig
-
Returns the object that manages partition keys; use this rather than directly accessing
the key.
- getReason() - Method in exception com.kdgregory.logging.aws.facade.CloudWatchFacadeException
-
Returns a code that can be used by the application to dispatch exception handling.
- getReason() - Method in exception com.kdgregory.logging.aws.facade.KinesisFacadeException
-
Returns a code that can be used by the application to dispatch exception handling.
- getReason() - Method in exception com.kdgregory.logging.aws.facade.SNSFacadeException
-
Returns a code that can be used by the application to dispatch exception handling.
- getRetentionPeriod() - Method in class com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterConfig
-
- getRetentionPeriod() - Method in class com.kdgregory.logging.aws.kinesis.KinesisWriterConfig
-
- getShardCount() - Method in class com.kdgregory.logging.aws.kinesis.KinesisWriterConfig
-
- getStreamName() - Method in class com.kdgregory.logging.aws.kinesis.KinesisWriterConfig
-
- getSubject() - Method in class com.kdgregory.logging.aws.sns.SNSWriterConfig
-
- getSynchronousMode() - Method in class com.kdgregory.logging.aws.internal.AbstractWriterConfig
-
- getThrottledWrites() - Method in interface com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterStatisticsMXBean
-
Returns the number of batches that were retried due to throttling.
- getThrottledWrites() - Method in class com.kdgregory.logging.aws.internal.AbstractWriterStatistics
-
- getThrottledWrites() - Method in interface com.kdgregory.logging.aws.kinesis.KinesisWriterStatisticsMXBean
-
Returns the number of batches that were retried due to throttling.
- getTimestamp() - Method in class com.kdgregory.logging.common.LogMessage
-
Returns the timestamp.
- getTopicArn() - Method in class com.kdgregory.logging.aws.sns.SNSWriterConfig
-
- getTopicName() - Method in class com.kdgregory.logging.aws.sns.SNSWriterConfig
-
- getTruncateOversizeMessages() - Method in class com.kdgregory.logging.aws.internal.AbstractWriterConfig
-
- getUnrecoveredWriterRaceRetries() - Method in class com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterStatistics
-
- getUnrecoveredWriterRaceRetries() - Method in interface com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterStatisticsMXBean
-
Returns the times that the writer had to requeue a batch after receiving and
repeated InvalidSequenceTokenException errors.
- getUseShutdownHook() - Method in class com.kdgregory.logging.aws.internal.AbstractWriterConfig
-
- getValue() - Method in class com.kdgregory.logging.aws.kinesis.PartitionKeyHelper
-
Returns the next partition key, either literal or generated.
- getWriterRaceRetries() - Method in class com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterStatistics
-
- getWriterRaceRetries() - Method in interface com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterStatisticsMXBean
-
Returns the number of retries due to InvalidSequenceTokenException
response from PutLogEvents.
- incrementOversizeMessages() - Method in class com.kdgregory.logging.aws.internal.AbstractWriterStatistics
-
- incrementThrottledWrites() - Method in class com.kdgregory.logging.aws.internal.AbstractWriterStatistics
-
- InfoFacade - Interface in com.kdgregory.logging.aws.facade
-
A facade for various operations that retrieve information about the
AWS environment.
- initialize() - Method in class com.kdgregory.logging.aws.internal.AbstractLogWriter
-
Called before the main loop, to ensure that the writer is able to perform
its job.
- InternalLogger - Interface in com.kdgregory.logging.common.util
-
The appender is expected to provide the writer with an instance of this
interface, used for logging status and error messages.
- invoke(String, Object[], String[]) - Method in class com.kdgregory.logging.aws.internal.AbstractMarkerBean
-
- invoke(Supplier<T>) - Method in class com.kdgregory.logging.common.util.RetryManager
-
Deprecated.
Invokes the passed function.
- invoke(Supplier<T>, Consumer<RuntimeException>) - Method in class com.kdgregory.logging.common.util.RetryManager
-
Deprecated.
Invokes the passed function.
- invoke(Instant, Supplier<T>, Consumer<RuntimeException>) - Method in class com.kdgregory.logging.common.util.RetryManager2
-
Invokes the passed function, passing any exceptions to the provided handler.
- invoke(Instant, Supplier<T>) - Method in class com.kdgregory.logging.common.util.RetryManager2
-
Invokes the passed function, propagating exceptions.
- invoke(Duration, Supplier<T>, Consumer<RuntimeException>) - Method in class com.kdgregory.logging.common.util.RetryManager2
-
Invokes the passed function, passing any exceptions to the provided handler.
- invoke(Duration, Supplier<T>) - Method in class com.kdgregory.logging.common.util.RetryManager2
-
Invokes the passed function, propagating exceptions.
- isEmpty() - Method in class com.kdgregory.logging.common.util.MessageQueue
-
Determines whether the queue is empty.
- isGenerated() - Method in class com.kdgregory.logging.aws.kinesis.PartitionKeyHelper
-
Indicates whether the partition keys are literal or generated.
- isRetryable() - Method in exception com.kdgregory.logging.aws.facade.FacadeException
-
Returns an indication of whether the caller should retry the operation that
threw this exception.
- isRunning() - Method in class com.kdgregory.logging.aws.internal.AbstractLogWriter
-
Returns whether or not the writer is currently running.
- isSynchronous() - Method in class com.kdgregory.logging.aws.internal.AbstractLogWriter
-
- isSynchronous() - Method in interface com.kdgregory.logging.common.LogWriter
-
Returns a flag to indicate whether the writer is operating in synchrnous mode.
- MAX_BATCH_BYTES - Static variable in class com.kdgregory.logging.aws.cloudwatch.CloudWatchConstants
-
Maximum number of bytes in a single batch.
- MAX_BATCH_BYTES - Static variable in class com.kdgregory.logging.aws.kinesis.KinesisConstants
-
Maximum number of bytes in a batch.
- MAX_BATCH_COUNT - Static variable in class com.kdgregory.logging.aws.cloudwatch.CloudWatchConstants
-
Maximum number of messages in a single batch.
- MAX_BATCH_COUNT - Static variable in class com.kdgregory.logging.aws.kinesis.KinesisConstants
-
Maximum number of messages in a single batch.
- MAX_MESSAGE_BYTES - Static variable in class com.kdgregory.logging.aws.kinesis.KinesisConstants
-
Maximum number of bytes in a for a single message.
- MAX_MESSAGE_BYTES - Static variable in class com.kdgregory.logging.aws.sns.SNSConstants
-
Maximum number of bytes in a for a single message.
- MAX_MESSAGE_SIZE - Static variable in class com.kdgregory.logging.aws.cloudwatch.CloudWatchConstants
-
The maximum number of bytes in a single message, after conversion to UTF-8.
- MAXIMUM_RETENTION_PERIOD - Static variable in class com.kdgregory.logging.aws.kinesis.KinesisConstants
-
Maximum number of hours for retention period.
- maxMessageSize() - Method in class com.kdgregory.logging.aws.cloudwatch.CloudWatchLogWriter
-
- maxMessageSize() - Method in class com.kdgregory.logging.aws.kinesis.KinesisLogWriter
-
- maxMessageSize() - Method in class com.kdgregory.logging.aws.sns.SNSLogWriter
-
- maxMessageSize() - Method in interface com.kdgregory.logging.common.LogWriter
-
Returns the maximum allowed UTF-8 message size for the destination.
- MESSAGE_OVERHEAD - Static variable in class com.kdgregory.logging.aws.cloudwatch.CloudWatchConstants
-
Overhead added to each message in a batch.
- MessageQueue - Class in com.kdgregory.logging.common.util
-
A thread-safe message queue that keeps track of the current number of entries
and optionally discards messages after its size reaches a given threshold.
- MessageQueue(int, MessageQueue.DiscardAction) - Constructor for class com.kdgregory.logging.common.util.MessageQueue
-
- MessageQueue.DiscardAction - Enum in com.kdgregory.logging.common.util
-
Controls how messages are discarded once the threshold is reached.
- MINIMUM_RETENTION_PERIOD - Static variable in class com.kdgregory.logging.aws.kinesis.KinesisConstants
-
Minimum number of hours for retention period.
- myName - Variable in class com.kdgregory.logging.aws.internal.AbstractMarkerBean
-
- myServer - Variable in class com.kdgregory.logging.aws.internal.AbstractMarkerBean
-
- RANDOM_PARTITION_KEY_CONFIG - Static variable in class com.kdgregory.logging.aws.kinesis.KinesisLogWriter
-
This string is used in configuration to specify random partition keys.
- registerAppenderBean(String, MBeanServer) - Method in class com.kdgregory.logging.aws.internal.AbstractJMXManager
-
Registers an appender's stats bean with a server.
- registrationNames - Variable in class com.kdgregory.logging.aws.internal.AbstractJMXManager
-
- registrations - Variable in class com.kdgregory.logging.aws.internal.AbstractJMXManager
-
- removeMarkerBean(Object) - Method in class com.kdgregory.logging.aws.internal.AbstractJMXManager
-
Will deregister a StatisticsMBean instance from all known servers.
- removeStatsBean(String) - Method in class com.kdgregory.logging.aws.internal.AbstractJMXManager
-
Removes information about a stats bean from the internal tables and deregisters
it from any MBeanServers.
- reportError(String, Throwable) - Method in class com.kdgregory.logging.aws.internal.AbstractLogWriter
-
Reports an operational error to both the internal logger and the stats
bean.
- requeue(LogMessage) - Method in class com.kdgregory.logging.common.util.MessageQueue
-
Adds a message to the start of the queue.
- retrieveAccountId() - Method in interface com.kdgregory.logging.aws.facade.InfoFacade
-
Retrieves the current AWS account ID, "unknown" if unable to determine
the account ID for any reason.
- retrieveDefaultRegion() - Method in interface com.kdgregory.logging.aws.facade.InfoFacade
-
Retrieves the current configured region, using the default region provider.
- retrieveEC2InstanceId() - Method in interface com.kdgregory.logging.aws.facade.InfoFacade
-
Returns the current instance ID, using the EC2 metadata service.
- retrieveEC2Region() - Method in interface com.kdgregory.logging.aws.facade.InfoFacade
-
Returns the instance where the logger is running, using the EC2 metadata service.
- retrieveEC2Tags(String) - Method in interface com.kdgregory.logging.aws.facade.InfoFacade
-
Returns all tags for the specified EC2 instance.
- retrieveParameter(String) - Method in interface com.kdgregory.logging.aws.facade.InfoFacade
-
Retrieves a named Systems Manager parameter, null if it doesnt' exist or is a
secure string.
- retrieveSequenceToken() - Method in interface com.kdgregory.logging.aws.facade.CloudWatchFacade
-
If the configured stream exists, returns the sequence token needed to write to it.
- retrieveStreamStatus() - Method in interface com.kdgregory.logging.aws.facade.KinesisFacade
-
Returns the current status of the stream, null if the status cannot be
determined due to a retryable condition.
- RetryManager - Class in com.kdgregory.logging.common.util
-
- RetryManager(long, long, boolean) - Constructor for class com.kdgregory.logging.common.util.RetryManager
-
Deprecated.
Constructor for those who like to specify times in milliseconds.
- RetryManager(Duration, Duration, boolean) - Constructor for class com.kdgregory.logging.common.util.RetryManager
-
Deprecated.
Constructor for those preferring Java8 durations.
- RetryManager2 - Class in com.kdgregory.logging.common.util
-
Invokes a function, retrying with a delay until specified time, with optional
exponential (2x) backoff.
- RetryManager2(String, Duration, boolean, boolean) - Constructor for class com.kdgregory.logging.common.util.RetryManager2
-
Base constructor.
- RetryManager2(String, Duration) - Constructor for class com.kdgregory.logging.common.util.RetryManager2
-
Convenience constructor: uses exponential backoff and throws on timeout.
- RetryManager2.TimeoutException - Exception in com.kdgregory.logging.common.util
-
This exception is thrown by the RetryManager on timeout.
- run() - Method in class com.kdgregory.logging.aws.internal.AbstractLogWriter
-
- sendBatch(List<LogMessage>) - Method in class com.kdgregory.logging.aws.cloudwatch.CloudWatchLogWriter
-
- sendBatch(List<LogMessage>) - Method in class com.kdgregory.logging.aws.internal.AbstractLogWriter
-
Sends a batch of messages.
- sendBatch(List<LogMessage>) - Method in class com.kdgregory.logging.aws.kinesis.KinesisLogWriter
-
- sendBatch(List<LogMessage>) - Method in class com.kdgregory.logging.aws.sns.SNSLogWriter
-
- sendRetry - Variable in class com.kdgregory.logging.aws.cloudwatch.CloudWatchLogWriter
-
- sendRetry - Variable in class com.kdgregory.logging.aws.kinesis.KinesisLogWriter
-
- sendTimeout - Variable in class com.kdgregory.logging.aws.cloudwatch.CloudWatchLogWriter
-
- sendTimeout - Variable in class com.kdgregory.logging.aws.kinesis.KinesisLogWriter
-
- setActualLogGroupName(String) - Method in class com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterStatistics
-
- setActualLogStreamName(String) - Method in class com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterStatistics
-
- setActualStreamName(String) - Method in class com.kdgregory.logging.aws.kinesis.KinesisWriterStatistics
-
- setActualSubject(String) - Method in class com.kdgregory.logging.aws.sns.SNSWriterStatistics
-
- setActualTopicArn(String) - Method in class com.kdgregory.logging.aws.sns.SNSWriterStatistics
-
- setActualTopicName(String) - Method in class com.kdgregory.logging.aws.sns.SNSWriterStatistics
-
- setAssumedRole(String) - Method in class com.kdgregory.logging.aws.internal.AbstractWriterConfig
-
- setAttribute(Attribute) - Method in class com.kdgregory.logging.aws.internal.AbstractMarkerBean
-
- setAttributes(AttributeList) - Method in class com.kdgregory.logging.aws.internal.AbstractMarkerBean
-
- setAutoCreate(boolean) - Method in class com.kdgregory.logging.aws.kinesis.KinesisWriterConfig
-
- setAutoCreate(boolean) - Method in class com.kdgregory.logging.aws.sns.SNSWriterConfig
-
- setBatchDelay(long) - Method in class com.kdgregory.logging.aws.internal.AbstractLogWriter
-
- setBatchDelay(long) - Method in class com.kdgregory.logging.aws.internal.AbstractWriterConfig
-
- setBatchDelay(long) - Method in class com.kdgregory.logging.aws.sns.SNSWriterConfig
-
- setBatchDelay(long) - Method in interface com.kdgregory.logging.common.LogWriter
-
Sets the batch delay for the writer.
- setClientEndpoint(String) - Method in class com.kdgregory.logging.aws.internal.AbstractWriterConfig
-
- setClientFactoryMethod(String) - Method in class com.kdgregory.logging.aws.internal.AbstractWriterConfig
-
- setClientRegion(String) - Method in class com.kdgregory.logging.aws.internal.AbstractWriterConfig
-
- setDedicatedWriter(boolean) - Method in class com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterConfig
-
- setDiscardAction(MessageQueue.DiscardAction) - Method in class com.kdgregory.logging.aws.internal.AbstractLogWriter
-
- setDiscardAction(MessageQueue.DiscardAction) - Method in class com.kdgregory.logging.aws.internal.AbstractWriterConfig
-
- setDiscardAction(MessageQueue.DiscardAction) - Method in interface com.kdgregory.logging.common.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.logging.common.util.MessageQueue
-
Changes the discard action
- setDiscardThreshold(int) - Method in class com.kdgregory.logging.aws.internal.AbstractLogWriter
-
- setDiscardThreshold(int) - Method in class com.kdgregory.logging.aws.internal.AbstractWriterConfig
-
- setDiscardThreshold(int) - Method in interface com.kdgregory.logging.common.LogWriter
-
Updates the writer's discard threshold: the maximum number of message stored
in its queue.
- setDiscardThreshold(int) - Method in class com.kdgregory.logging.common.util.MessageQueue
-
Changes the discard threshold.
- setEnableBatchLogging(boolean) - Method in class com.kdgregory.logging.aws.internal.AbstractWriterConfig
-
- setInitializationTimeout(long) - Method in class com.kdgregory.logging.aws.internal.AbstractWriterConfig
-
- setLastBatchSize(int) - Method in class com.kdgregory.logging.aws.internal.AbstractWriterStatistics
-
- setLastError(String, Throwable) - Method in class com.kdgregory.logging.aws.internal.AbstractWriterStatistics
-
Sets the last error.
- setLogGroupName(String) - Method in class com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterConfig
-
- setLogGroupRetention() - Method in interface com.kdgregory.logging.aws.facade.CloudWatchFacade
-
Sets the retention period on the configured log group.
- setLogStreamName(String) - Method in class com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterConfig
-
- setMessageQueue(MessageQueue) - Method in class com.kdgregory.logging.aws.internal.AbstractWriterStatistics
-
Stores the current writer's message queue.
- setMessagesRequeuedLastBatch(int) - Method in class com.kdgregory.logging.aws.internal.AbstractWriterStatistics
-
- setMessagesSentLastBatch(int) - Method in class com.kdgregory.logging.aws.internal.AbstractWriterStatistics
-
- setPartitionKey(String) - Method in class com.kdgregory.logging.aws.kinesis.KinesisWriterConfig
-
- setRetentionPeriod(Integer) - Method in class com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterConfig
-
- setRetentionPeriod() - Method in interface com.kdgregory.logging.aws.facade.KinesisFacade
-
Sets the stream's retention period, iff configuration specifies a non-null
period.
- setRetentionPeriod(Integer) - Method in class com.kdgregory.logging.aws.kinesis.KinesisWriterConfig
-
- setShardCount(int) - Method in class com.kdgregory.logging.aws.kinesis.KinesisWriterConfig
-
- setStreamName(String) - Method in class com.kdgregory.logging.aws.kinesis.KinesisWriterConfig
-
- setSubject(String) - Method in class com.kdgregory.logging.aws.sns.SNSWriterConfig
-
- setSynchronousMode(boolean) - Method in class com.kdgregory.logging.aws.internal.AbstractWriterConfig
-
- setTopicArn(String) - Method in class com.kdgregory.logging.aws.sns.SNSWriterConfig
-
- setTopicName(String) - Method in class com.kdgregory.logging.aws.sns.SNSWriterConfig
-
- setTruncateOversizeMessages(boolean) - Method in class com.kdgregory.logging.aws.internal.AbstractWriterConfig
-
- setUseShutdownHook(boolean) - Method in class com.kdgregory.logging.aws.internal.AbstractWriterConfig
-
- shutdown() - Method in interface com.kdgregory.logging.aws.facade.CloudWatchFacade
-
Shuts down the underlying client.
- shutdown() - Method in interface com.kdgregory.logging.aws.facade.KinesisFacade
-
Shuts down the underlying client.
- shutdown() - Method in interface com.kdgregory.logging.aws.facade.SNSFacade
-
Shuts down the underlying client.
- size() - Method in class com.kdgregory.logging.common.LogMessage
-
Returns the size of the UTF-8 representation.
- size() - Method in class com.kdgregory.logging.common.util.MessageQueue
-
Returns the current number of elements in the queue, as recorded by the atomic
counter.
- sleepQuietly(long) - Static method in class com.kdgregory.logging.common.internal.Utils
-
Sleeps until the specified time elapses or the thread is interrupted.
- sleepQuietly(long) - Static method in class com.kdgregory.logging.common.util.RetryManager
-
Deprecated.
Sleeps for the specified duration (in milliseconds).
- sleepQuietly(long) - Static method in class com.kdgregory.logging.common.util.RetryManager2
-
Sleeps for the specified duration (in milliseconds).
- SNSConstants - Class in com.kdgregory.logging.aws.sns
-
Holds limits and other constants for SNS.
- SNSConstants() - Constructor for class com.kdgregory.logging.aws.sns.SNSConstants
-
- SNSFacade - Interface in com.kdgregory.logging.aws.facade
-
Exposes the CloudWatch Logs APIs used by SNShLogWriter.
- SNSFacadeException - Exception in com.kdgregory.logging.aws.facade
-
This exception is thown by
SNSFacade for any situation that
requires intervention by the caller.
- SNSFacadeException(String, Throwable, SNSFacadeException.ReasonCode, boolean, String, Object...) - Constructor for exception com.kdgregory.logging.aws.facade.SNSFacadeException
-
Base constructor.
- SNSFacadeException(String, SNSFacadeException.ReasonCode, boolean, String, Object...) - Constructor for exception com.kdgregory.logging.aws.facade.SNSFacadeException
-
Convenience constructor, for conditions where there is no underlying exception,
or where it's irrelevant.
- SNSFacadeException(SNSFacadeException.ReasonCode, boolean, Throwable) - Constructor for exception com.kdgregory.logging.aws.facade.SNSFacadeException
-
Convenience constructor for testing.
- SNSFacadeException.ReasonCode - Enum in com.kdgregory.logging.aws.facade
-
- SNSLogWriter - Class in com.kdgregory.logging.aws.sns
-
Writes log messages to an SNS topic.
- SNSLogWriter(SNSWriterConfig, SNSWriterStatistics, InternalLogger, SNSFacade) - Constructor for class com.kdgregory.logging.aws.sns.SNSLogWriter
-
- SNSWriterConfig - Class in com.kdgregory.logging.aws.sns
-
Configuration for SNSLogWriter.
- SNSWriterConfig() - Constructor for class com.kdgregory.logging.aws.sns.SNSWriterConfig
-
- SNSWriterFactory - Class in com.kdgregory.logging.aws.sns
-
- SNSWriterFactory() - Constructor for class com.kdgregory.logging.aws.sns.SNSWriterFactory
-
- SNSWriterStatistics - Class in com.kdgregory.logging.aws.sns
-
Statistics specific to SNSLogWriter.
- SNSWriterStatistics() - Constructor for class com.kdgregory.logging.aws.sns.SNSWriterStatistics
-
- SNSWriterStatisticsMXBean - Interface in com.kdgregory.logging.aws.sns
-
- startWriterThread(LogWriter, Thread.UncaughtExceptionHandler) - Method in class com.kdgregory.logging.common.util.DefaultThreadFactory
-
- startWriterThread(LogWriter, Thread.UncaughtExceptionHandler) - Method in interface com.kdgregory.logging.common.util.ThreadFactory
-
- stats - Variable in class com.kdgregory.logging.aws.internal.AbstractLogWriter
-
- statsBeans - Variable in class com.kdgregory.logging.aws.internal.AbstractJMXManager
-
- statsBeanTypes - Variable in class com.kdgregory.logging.aws.internal.AbstractJMXManager
-
- stop() - Method in class com.kdgregory.logging.aws.internal.AbstractLogWriter
-
- stop() - Method in interface com.kdgregory.logging.common.LogWriter
-
Signals the writer that it will no longer receive batches.
- stopAWSClient() - Method in class com.kdgregory.logging.aws.cloudwatch.CloudWatchLogWriter
-
- stopAWSClient() - Method in class com.kdgregory.logging.aws.internal.AbstractLogWriter
-
This is called when the logwriter is stopped, to explicitly close the
AWS service client.
- stopAWSClient() - Method in class com.kdgregory.logging.aws.kinesis.KinesisLogWriter
-
- stopAWSClient() - Method in class com.kdgregory.logging.aws.sns.SNSLogWriter
-
- Substitutions - Class in com.kdgregory.logging.aws.common
-
Performs substitutions.
- Substitutions(Date, int, InfoFacade) - Constructor for class com.kdgregory.logging.aws.common.Substitutions
-
Base constructor, which allows configuration of the InfoFacade
instance.
- Substitutions(Date, int) - Constructor for class com.kdgregory.logging.aws.common.Substitutions
-
Standard constructor, which retrieves an InfoFacade if and
when it is needed.
- validate() - Method in class com.kdgregory.logging.aws.cloudwatch.CloudWatchWriterConfig
-
Validates the configuration, returning a list of any validation errors.
- validate() - Method in class com.kdgregory.logging.aws.kinesis.KinesisWriterConfig
-
Validates the configuration, returning a list of any validation errors.
- validate() - Method in class com.kdgregory.logging.aws.sns.SNSWriterConfig
-
Validates the configuration, returning a list of any validation errors.
- validateRetentionPeriod(Integer) - Static method in class com.kdgregory.logging.aws.cloudwatch.CloudWatchConstants
-
Validates proposed retention period, throwing if invalid.
- valueOf(String) - Static method in enum com.kdgregory.logging.aws.facade.CloudWatchFacadeException.ReasonCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.kdgregory.logging.aws.facade.KinesisFacadeException.ReasonCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.kdgregory.logging.aws.facade.SNSFacadeException.ReasonCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.kdgregory.logging.aws.kinesis.KinesisConstants.StreamStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.kdgregory.logging.common.util.MessageQueue.DiscardAction
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.kdgregory.logging.aws.facade.CloudWatchFacadeException.ReasonCode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.kdgregory.logging.aws.facade.KinesisFacadeException.ReasonCode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.kdgregory.logging.aws.facade.SNSFacadeException.ReasonCode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.kdgregory.logging.aws.kinesis.KinesisConstants.StreamStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.kdgregory.logging.common.util.MessageQueue.DiscardAction
-
Returns an array containing the constants of this enum type, in
the order they are declared.