A B C D E F G H I J K L M N O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accept(MetricsContext) - Method in class software.amazon.cloudwatchlogs.emf.sinks.AgentSink
- accept(MetricsContext) - Method in class software.amazon.cloudwatchlogs.emf.sinks.ConsoleSink
- accept(MetricsContext) - Method in interface software.amazon.cloudwatchlogs.emf.sinks.ISink
-
Accept MetricsContext to sink to CloudWatch.
- accept(MetricsContext) - Method in class software.amazon.cloudwatchlogs.emf.sinks.MultiSink
- add(DimensionSet) - Method in class software.amazon.cloudwatchlogs.emf.model.DimensionSet
-
Add a dimension set with current dimension set and return a new dimension set from combining the two dimension sets.
- addDimension(String, String) - Method in class software.amazon.cloudwatchlogs.emf.model.DimensionSet
-
Add another dimension entry to this DimensionSet.
- Agent - software.amazon.cloudwatchlogs.emf.environment.Environments
- AGENT_ENDPOINT - Static variable in class software.amazon.cloudwatchlogs.emf.config.ConfigurationKeys
- AgentBasedEnvironment - Class in software.amazon.cloudwatchlogs.emf.environment
- AgentBasedEnvironment(Configuration) - Constructor for class software.amazon.cloudwatchlogs.emf.environment.AgentBasedEnvironment
- AgentSink - Class in software.amazon.cloudwatchlogs.emf.sinks
-
An sink connecting to an agent over a socket.
- AgentSink(String, String, Endpoint, SocketClientFactory, int, Supplier<RetryStrategy>) - Constructor for class software.amazon.cloudwatchlogs.emf.sinks.AgentSink
- ASYNC_BUFFER_SIZE - Static variable in class software.amazon.cloudwatchlogs.emf.config.ConfigurationKeys
B
- BITS - software.amazon.cloudwatchlogs.emf.model.Unit
- BITS_SECOND - software.amazon.cloudwatchlogs.emf.model.Unit
- BYTES - software.amazon.cloudwatchlogs.emf.model.Unit
- BYTES_SECOND - software.amazon.cloudwatchlogs.emf.model.Unit
C
- close() - Method in class software.amazon.cloudwatchlogs.emf.sinks.TCPClient
- closeQuietly(Closeable, Logger) - Static method in class software.amazon.cloudwatchlogs.emf.util.IOUtils
-
Closes the given Closeable quietly.
- Configuration - Class in software.amazon.cloudwatchlogs.emf.config
-
Configuration for EMF logger.
- Configuration() - Constructor for class software.amazon.cloudwatchlogs.emf.config.Configuration
- ConfigurationKeys - Class in software.amazon.cloudwatchlogs.emf.config
-
The key of configurations used by EMF logger.
- ConfigurationKeys() - Constructor for class software.amazon.cloudwatchlogs.emf.config.ConfigurationKeys
- configureContext(MetricsContext) - Method in class software.amazon.cloudwatchlogs.emf.environment.DefaultEnvironment
- configureContext(MetricsContext) - Method in class software.amazon.cloudwatchlogs.emf.environment.EC2Environment
- configureContext(MetricsContext) - Method in class software.amazon.cloudwatchlogs.emf.environment.ECSEnvironment
- configureContext(MetricsContext) - Method in interface software.amazon.cloudwatchlogs.emf.environment.Environment
- configureContext(MetricsContext) - Method in class software.amazon.cloudwatchlogs.emf.environment.LambdaEnvironment
- configureContext(MetricsContext) - Method in class software.amazon.cloudwatchlogs.emf.environment.LocalEnvironment
- ConsoleSink - Class in software.amazon.cloudwatchlogs.emf.sinks
-
Write log items to the console in JSON format.
- ConsoleSink() - Constructor for class software.amazon.cloudwatchlogs.emf.sinks.ConsoleSink
- Constants - Class in software.amazon.cloudwatchlogs.emf
- Constants() - Constructor for class software.amazon.cloudwatchlogs.emf.Constants
- COUNT - software.amazon.cloudwatchlogs.emf.model.Unit
- COUNT_SECOND - software.amazon.cloudwatchlogs.emf.model.Unit
- createCopyWithContext(boolean) - Method in class software.amazon.cloudwatchlogs.emf.model.MetricsContext
-
Create a copy of the context
- createSocket() - Method in class software.amazon.cloudwatchlogs.emf.sinks.TCPClient
D
- DEFAULT_AGENT_PORT - Static variable in class software.amazon.cloudwatchlogs.emf.Constants
- DEFAULT_ASYNC_BUFFER_SIZE - Static variable in class software.amazon.cloudwatchlogs.emf.Constants
-
The max number of messages to hold in memory in case of transient socket errors.
- DEFAULT_TCP_ENDPOINT - Static variable in class software.amazon.cloudwatchlogs.emf.sinks.Endpoint
- DefaultEnvironment - Class in software.amazon.cloudwatchlogs.emf.environment
- DefaultEnvironment(Configuration) - Constructor for class software.amazon.cloudwatchlogs.emf.environment.DefaultEnvironment
- deserialize(JsonParser, DeserializationContext) - Method in class software.amazon.cloudwatchlogs.emf.serializers.InstantDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class software.amazon.cloudwatchlogs.emf.serializers.UnitDeserializer
- DimensionSet - Class in software.amazon.cloudwatchlogs.emf.model
-
A combination of dimension values.
- DimensionSet() - Constructor for class software.amazon.cloudwatchlogs.emf.model.DimensionSet
- DimensionSetExceededException - Exception in software.amazon.cloudwatchlogs.emf.exception
- DimensionSetExceededException() - Constructor for exception software.amazon.cloudwatchlogs.emf.exception.DimensionSetExceededException
- DimensionSetExceededException(String) - Constructor for exception software.amazon.cloudwatchlogs.emf.exception.DimensionSetExceededException
E
- EC2 - software.amazon.cloudwatchlogs.emf.environment.Environments
- EC2Environment - Class in software.amazon.cloudwatchlogs.emf.environment
- ECS - software.amazon.cloudwatchlogs.emf.environment.Environments
- ECSEnvironment - Class in software.amazon.cloudwatchlogs.emf.environment
- ECSEnvironment(Configuration) - Constructor for class software.amazon.cloudwatchlogs.emf.environment.ECSEnvironment
- EMFClientException - Exception in software.amazon.cloudwatchlogs.emf.exception
- EMFClientException(String) - Constructor for exception software.amazon.cloudwatchlogs.emf.exception.EMFClientException
- EMFClientException(String, Throwable) - Constructor for exception software.amazon.cloudwatchlogs.emf.exception.EMFClientException
- Endpoint - Class in software.amazon.cloudwatchlogs.emf.sinks
- Endpoint() - Constructor for class software.amazon.cloudwatchlogs.emf.sinks.Endpoint
- ENV_VAR_PREFIX - Static variable in class software.amazon.cloudwatchlogs.emf.config.ConfigurationKeys
- Environment - Interface in software.amazon.cloudwatchlogs.emf.environment
-
A runtime environment (e.g.
- ENVIRONMENT_OVERRIDE - Static variable in class software.amazon.cloudwatchlogs.emf.config.ConfigurationKeys
- EnvironmentConfigurationProvider - Class in software.amazon.cloudwatchlogs.emf.config
-
Loads configuration from environment variables.
- EnvironmentConfigurationProvider() - Constructor for class software.amazon.cloudwatchlogs.emf.config.EnvironmentConfigurationProvider
- EnvironmentProvider - Class in software.amazon.cloudwatchlogs.emf.environment
-
A provider that will detect the environment.
- EnvironmentProvider() - Constructor for class software.amazon.cloudwatchlogs.emf.environment.EnvironmentProvider
- Environments - Enum in software.amazon.cloudwatchlogs.emf.environment
F
- FibonacciRetryStrategy - Class in software.amazon.cloudwatchlogs.emf.sinks.retry
-
A Fibonacci sequence with an upper bound.
- FibonacciRetryStrategy(int, int, int) - Constructor for class software.amazon.cloudwatchlogs.emf.sinks.retry.FibonacciRetryStrategy
- flush() - Method in class software.amazon.cloudwatchlogs.emf.logger.MetricsLogger
-
Flushes the current context state to the configured sink.
- fromJsonString(String, ObjectMapper, Class<T>) - Static method in class software.amazon.cloudwatchlogs.emf.util.Jackson
- fromJsonString(String, Class<T>) - Static method in class software.amazon.cloudwatchlogs.emf.util.Jackson
-
Returns the deserialized object from the given json string and target class; or null if the given json string is null.
- fromURL(String) - Static method in class software.amazon.cloudwatchlogs.emf.sinks.Endpoint
- fromValue(String) - Static method in enum software.amazon.cloudwatchlogs.emf.model.Unit
-
Use this in place of valueOf to convert the raw string returned by the service into the enum value.
G
- getAgentEndpoint() - Method in class software.amazon.cloudwatchlogs.emf.config.Configuration
- getClient(Endpoint) - Method in class software.amazon.cloudwatchlogs.emf.sinks.SocketClientFactory
- getConfig() - Static method in class software.amazon.cloudwatchlogs.emf.config.EnvironmentConfigurationProvider
- getDefaultDimensions() - Method in class software.amazon.cloudwatchlogs.emf.model.MetricsContext
- getDefaultEnvironment() - Method in class software.amazon.cloudwatchlogs.emf.environment.EnvironmentProvider
- getDimensionKeys() - Method in class software.amazon.cloudwatchlogs.emf.model.DimensionSet
- getDimensions() - Method in class software.amazon.cloudwatchlogs.emf.model.MetricsContext
-
Get list of all dimensions including default dimensions
- getDimensionValue(String) - Method in class software.amazon.cloudwatchlogs.emf.model.DimensionSet
- getenv(String) - Static method in class software.amazon.cloudwatchlogs.emf.config.SystemWrapper
- getEnvironmentOverride() - Method in class software.amazon.cloudwatchlogs.emf.config.Configuration
- getLogGroupName() - Method in class software.amazon.cloudwatchlogs.emf.config.Configuration
- getLogGroupName() - Method in class software.amazon.cloudwatchlogs.emf.environment.AgentBasedEnvironment
- getLogGroupName() - Method in class software.amazon.cloudwatchlogs.emf.environment.ECSEnvironment
- getLogGroupName() - Method in interface software.amazon.cloudwatchlogs.emf.environment.Environment
-
Get log group name.
- getLogGroupName() - Method in class software.amazon.cloudwatchlogs.emf.environment.LambdaEnvironment
- getLogGroupName() - Method in class software.amazon.cloudwatchlogs.emf.environment.LocalEnvironment
- getLogStreamName() - Method in class software.amazon.cloudwatchlogs.emf.config.Configuration
- getLogStreamName() - Method in class software.amazon.cloudwatchlogs.emf.environment.AgentBasedEnvironment
- getName() - Method in class software.amazon.cloudwatchlogs.emf.environment.AgentBasedEnvironment
- getName() - Method in class software.amazon.cloudwatchlogs.emf.environment.ECSEnvironment
- getName() - Method in interface software.amazon.cloudwatchlogs.emf.environment.Environment
-
Get the environment name.
- getName() - Method in class software.amazon.cloudwatchlogs.emf.environment.LambdaEnvironment
- getName() - Method in class software.amazon.cloudwatchlogs.emf.environment.LocalEnvironment
- getNamespace() - Method in class software.amazon.cloudwatchlogs.emf.model.MetricsContext
- getProperty(String) - Method in class software.amazon.cloudwatchlogs.emf.model.MetricsContext
- getProtocol(String) - Static method in enum software.amazon.cloudwatchlogs.emf.sinks.Protocol
- getServiceName() - Method in class software.amazon.cloudwatchlogs.emf.config.Configuration
- getServiceType() - Method in class software.amazon.cloudwatchlogs.emf.config.Configuration
- getSink() - Method in class software.amazon.cloudwatchlogs.emf.environment.AgentBasedEnvironment
- getSink() - Method in interface software.amazon.cloudwatchlogs.emf.environment.Environment
- getSink() - Method in class software.amazon.cloudwatchlogs.emf.environment.LambdaEnvironment
- getSink() - Method in class software.amazon.cloudwatchlogs.emf.environment.LocalEnvironment
- getTimestamp() - Method in class software.amazon.cloudwatchlogs.emf.model.MetricsContext
- getType() - Method in class software.amazon.cloudwatchlogs.emf.environment.DefaultEnvironment
- getType() - Method in class software.amazon.cloudwatchlogs.emf.environment.EC2Environment
- getType() - Method in class software.amazon.cloudwatchlogs.emf.environment.ECSEnvironment
- getType() - Method in interface software.amazon.cloudwatchlogs.emf.environment.Environment
-
Get the environment type.
- getType() - Method in class software.amazon.cloudwatchlogs.emf.environment.LambdaEnvironment
- getType() - Method in class software.amazon.cloudwatchlogs.emf.environment.LocalEnvironment
- GIGABITS - software.amazon.cloudwatchlogs.emf.model.Unit
- GIGABITS_SECOND - software.amazon.cloudwatchlogs.emf.model.Unit
- GIGABYTES - software.amazon.cloudwatchlogs.emf.model.Unit
- GIGABYTES_SECOND - software.amazon.cloudwatchlogs.emf.model.Unit
H
- hasDefaultDimensions() - Method in class software.amazon.cloudwatchlogs.emf.model.MetricsContext
I
- InstantDeserializer - Class in software.amazon.cloudwatchlogs.emf.serializers
-
Deserialize Instant from a Long epoch millisecond timestamp.
- InstantSerializer - Class in software.amazon.cloudwatchlogs.emf.serializers
-
Serialize Instant from a Long epoch millisecond timestamp.
- InvalidDimensionException - Exception in software.amazon.cloudwatchlogs.emf.exception
- InvalidDimensionException(String) - Constructor for exception software.amazon.cloudwatchlogs.emf.exception.InvalidDimensionException
- InvalidMetricException - Exception in software.amazon.cloudwatchlogs.emf.exception
- InvalidMetricException(String) - Constructor for exception software.amazon.cloudwatchlogs.emf.exception.InvalidMetricException
- InvalidNamespaceException - Exception in software.amazon.cloudwatchlogs.emf.exception
- InvalidNamespaceException(String) - Constructor for exception software.amazon.cloudwatchlogs.emf.exception.InvalidNamespaceException
- InvalidTimestampException - Exception in software.amazon.cloudwatchlogs.emf.exception
- InvalidTimestampException(String) - Constructor for exception software.amazon.cloudwatchlogs.emf.exception.InvalidTimestampException
- IOUtils - Class in software.amazon.cloudwatchlogs.emf.util
- ISink - Interface in software.amazon.cloudwatchlogs.emf.sinks
-
Interface for sinking log items to CloudWatch.
- isNullOrEmpty(String) - Static method in class software.amazon.cloudwatchlogs.emf.util.StringUtils
J
- Jackson - Class in software.amazon.cloudwatchlogs.emf.util
- jsonNodeOf(String) - Static method in class software.amazon.cloudwatchlogs.emf.util.Jackson
K
- KILOBITS - software.amazon.cloudwatchlogs.emf.model.Unit
- KILOBITS_SECOND - software.amazon.cloudwatchlogs.emf.model.Unit
- KILOBYTES - software.amazon.cloudwatchlogs.emf.model.Unit
- KILOBYTES_SECOND - software.amazon.cloudwatchlogs.emf.model.Unit
L
- Lambda - software.amazon.cloudwatchlogs.emf.environment.Environments
- LambdaEnvironment - Class in software.amazon.cloudwatchlogs.emf.environment
-
An environment stands for the AWS Lambda environment.
- LambdaEnvironment() - Constructor for class software.amazon.cloudwatchlogs.emf.environment.LambdaEnvironment
- Local - software.amazon.cloudwatchlogs.emf.environment.Environments
- LocalEnvironment - Class in software.amazon.cloudwatchlogs.emf.environment
- LOG_GROUP_NAME - Static variable in class software.amazon.cloudwatchlogs.emf.config.ConfigurationKeys
- LOG_STREAM_NAME - Static variable in class software.amazon.cloudwatchlogs.emf.config.ConfigurationKeys
M
- MAX_ATTEMPTS_PER_MESSAGE - Static variable in class software.amazon.cloudwatchlogs.emf.Constants
-
How many times to retry an individual message.
- MAX_BACKOFF_JITTER - Static variable in class software.amazon.cloudwatchlogs.emf.Constants
-
Maximum amount of random jitter to apply to retries
- MAX_BACKOFF_MILLIS - Static variable in class software.amazon.cloudwatchlogs.emf.Constants
-
Max backoff millis when a transient socket failure is encountered.
- MAX_DATAPOINTS_PER_METRIC - Static variable in class software.amazon.cloudwatchlogs.emf.Constants
- MAX_DIMENSION_NAME_LENGTH - Static variable in class software.amazon.cloudwatchlogs.emf.Constants
- MAX_DIMENSION_SET_SIZE - Static variable in class software.amazon.cloudwatchlogs.emf.Constants
- MAX_DIMENSION_VALUE_LENGTH - Static variable in class software.amazon.cloudwatchlogs.emf.Constants
- MAX_METRIC_NAME_LENGTH - Static variable in class software.amazon.cloudwatchlogs.emf.Constants
- MAX_METRICS_PER_EVENT - Static variable in class software.amazon.cloudwatchlogs.emf.Constants
- MAX_NAMESPACE_LENGTH - Static variable in class software.amazon.cloudwatchlogs.emf.Constants
- MAX_TIMESTAMP_FUTURE_AGE_SECONDS - Static variable in class software.amazon.cloudwatchlogs.emf.Constants
- MAX_TIMESTAMP_PAST_AGE_SECONDS - Static variable in class software.amazon.cloudwatchlogs.emf.Constants
- MEGABITS - software.amazon.cloudwatchlogs.emf.model.Unit
- MEGABITS_SECOND - software.amazon.cloudwatchlogs.emf.model.Unit
- MEGABYTES - software.amazon.cloudwatchlogs.emf.model.Unit
- MEGABYTES_SECOND - software.amazon.cloudwatchlogs.emf.model.Unit
- MetricsContext - Class in software.amazon.cloudwatchlogs.emf.model
-
Stores metrics and their associated properties and dimensions.
- MetricsContext() - Constructor for class software.amazon.cloudwatchlogs.emf.model.MetricsContext
- MetricsContext(String, Map<String, Object>, List<DimensionSet>, DimensionSet) - Constructor for class software.amazon.cloudwatchlogs.emf.model.MetricsContext
- MetricsContext(MetricDirective) - Constructor for class software.amazon.cloudwatchlogs.emf.model.MetricsContext
- MetricsContext(RootNode) - Constructor for class software.amazon.cloudwatchlogs.emf.model.MetricsContext
- MetricsLogger - Class in software.amazon.cloudwatchlogs.emf.logger
-
A metrics logger.
- MetricsLogger() - Constructor for class software.amazon.cloudwatchlogs.emf.logger.MetricsLogger
- MetricsLogger(Environment) - Constructor for class software.amazon.cloudwatchlogs.emf.logger.MetricsLogger
- MetricsLogger(EnvironmentProvider) - Constructor for class software.amazon.cloudwatchlogs.emf.logger.MetricsLogger
- MetricsLogger(EnvironmentProvider, MetricsContext) - Constructor for class software.amazon.cloudwatchlogs.emf.logger.MetricsLogger
- MICROSECONDS - software.amazon.cloudwatchlogs.emf.model.Unit
- MILLISECONDS - software.amazon.cloudwatchlogs.emf.model.Unit
- MIN_BACKOFF_MILLIS - Static variable in class software.amazon.cloudwatchlogs.emf.Constants
-
Starting backoff millis when a transient socket failure is encountered.
- MultiSink - Class in software.amazon.cloudwatchlogs.emf.sinks
-
Convenience helper for sinking the same log items to multiple destinations.
- MultiSink() - Constructor for class software.amazon.cloudwatchlogs.emf.sinks.MultiSink
N
- next() - Method in class software.amazon.cloudwatchlogs.emf.sinks.retry.FibonacciRetryStrategy
- next() - Method in interface software.amazon.cloudwatchlogs.emf.sinks.retry.RetryStrategy
-
Gets the amount of time to wait in millis before retrying
- NONE - software.amazon.cloudwatchlogs.emf.model.Unit
O
- of(String, String) - Static method in class software.amazon.cloudwatchlogs.emf.model.DimensionSet
-
Return a dimension set that contains a single pair of key-value.
- of(String, String, String, String) - Static method in class software.amazon.cloudwatchlogs.emf.model.DimensionSet
-
Return a dimension set that contains two entries.
- of(String, String, String, String, String, String) - Static method in class software.amazon.cloudwatchlogs.emf.model.DimensionSet
-
Return a dimension set that contains three entries.
- of(String, String, String, String, String, String, String, String) - Static method in class software.amazon.cloudwatchlogs.emf.model.DimensionSet
-
Return a dimension set that contains four entries.
- of(String, String, String, String, String, String, String, String, String, String) - Static method in class software.amazon.cloudwatchlogs.emf.model.DimensionSet
-
Return a dimension set that contains five entries.
P
- PERCENT - software.amazon.cloudwatchlogs.emf.model.Unit
- probe() - Method in class software.amazon.cloudwatchlogs.emf.environment.DefaultEnvironment
- probe() - Method in class software.amazon.cloudwatchlogs.emf.environment.EC2Environment
- probe() - Method in class software.amazon.cloudwatchlogs.emf.environment.ECSEnvironment
- probe() - Method in interface software.amazon.cloudwatchlogs.emf.environment.Environment
-
Determines whether or not we are executing in this environment.
- probe() - Method in class software.amazon.cloudwatchlogs.emf.environment.LambdaEnvironment
- probe() - Method in class software.amazon.cloudwatchlogs.emf.environment.LocalEnvironment
- Protocol - Enum in software.amazon.cloudwatchlogs.emf.sinks
- putDimension(String, String) - Method in class software.amazon.cloudwatchlogs.emf.model.MetricsContext
-
Add a dimension set with single dimension-value entry to the metric context.
- putDimension(DimensionSet) - Method in class software.amazon.cloudwatchlogs.emf.model.MetricsContext
-
Add dimensions to the metric context.
- putDimensions(DimensionSet) - Method in class software.amazon.cloudwatchlogs.emf.logger.MetricsLogger
-
Adds a dimension.
- putMetadata(String, Object) - Method in class software.amazon.cloudwatchlogs.emf.logger.MetricsLogger
-
Add a custom key-value pair to the Metadata object.
- putMetadata(String, Object) - Method in class software.amazon.cloudwatchlogs.emf.model.MetricsContext
-
Add a key-value pair to the metadata
- putMetric(String, double) - Method in class software.amazon.cloudwatchlogs.emf.logger.MetricsLogger
-
Put a metric value.
- putMetric(String, double) - Method in class software.amazon.cloudwatchlogs.emf.model.MetricsContext
-
Add a metric measurement to the context without a unit Multiple calls using the same key will be stored as an array of scalar values.
- putMetric(String, double, Unit) - Method in class software.amazon.cloudwatchlogs.emf.logger.MetricsLogger
-
Put a metric value.
- putMetric(String, double, Unit) - Method in class software.amazon.cloudwatchlogs.emf.model.MetricsContext
-
Add a metric measurement to the context.
- putProperty(String, Object) - Method in class software.amazon.cloudwatchlogs.emf.logger.MetricsLogger
-
Set a property on the published metrics.
- putProperty(String, Object) - Method in class software.amazon.cloudwatchlogs.emf.model.MetricsContext
-
Add a property to this log entry.
R
- resetDimensions(boolean) - Method in class software.amazon.cloudwatchlogs.emf.logger.MetricsLogger
-
Clear all custom dimensions on this MetricsLogger instance.
- resetDimensions(boolean) - Method in class software.amazon.cloudwatchlogs.emf.model.MetricsContext
-
Reset the dimensions.
- resolveEnvironment() - Method in class software.amazon.cloudwatchlogs.emf.environment.EnvironmentProvider
- ResourceFetcher - Class in software.amazon.cloudwatchlogs.emf.environment
- ResourceFetcher() - Constructor for class software.amazon.cloudwatchlogs.emf.environment.ResourceFetcher
- RetryStrategy - Interface in software.amazon.cloudwatchlogs.emf.sinks.retry
S
- SECONDS - software.amazon.cloudwatchlogs.emf.model.Unit
- sendMessage(String) - Method in interface software.amazon.cloudwatchlogs.emf.sinks.SocketClient
-
Send a message through the Socket Client.
- sendMessage(String) - Method in class software.amazon.cloudwatchlogs.emf.sinks.TCPClient
- serialize() - Method in class software.amazon.cloudwatchlogs.emf.model.MetricsContext
-
Serialize the metrics in this context to strings.
- serialize(Instant, JsonGenerator, SerializerProvider) - Method in class software.amazon.cloudwatchlogs.emf.serializers.InstantSerializer
- serialize(Unit, JsonGenerator, SerializerProvider) - Method in class software.amazon.cloudwatchlogs.emf.serializers.UnitSerializer
- SERVICE_NAME - Static variable in class software.amazon.cloudwatchlogs.emf.config.ConfigurationKeys
- SERVICE_TYPE - Static variable in class software.amazon.cloudwatchlogs.emf.config.ConfigurationKeys
- setDefaultDimensions(DimensionSet) - Method in class software.amazon.cloudwatchlogs.emf.model.MetricsContext
-
Sets default dimensions for all other dimensions that get added to the context.
- setDimensions(boolean, DimensionSet...) - Method in class software.amazon.cloudwatchlogs.emf.logger.MetricsLogger
-
Overwrite custom dimensions on this MetricsLogger instance, with an option to preserve default dimensions.
- setDimensions(boolean, DimensionSet...) - Method in class software.amazon.cloudwatchlogs.emf.model.MetricsContext
-
Update the dimensions.
- setDimensions(DimensionSet...) - Method in class software.amazon.cloudwatchlogs.emf.logger.MetricsLogger
-
Overwrite all dimensions on this MetricsLogger instance.
- setDimensions(DimensionSet...) - Method in class software.amazon.cloudwatchlogs.emf.model.MetricsContext
-
Update the dimensions.
- setNamespace(String) - Method in class software.amazon.cloudwatchlogs.emf.logger.MetricsLogger
-
Set the CloudWatch namespace that metrics should be published to.
- setNamespace(String) - Method in class software.amazon.cloudwatchlogs.emf.model.MetricsContext
-
Update the namespace with the parameter.
- setTimestamp(Instant) - Method in class software.amazon.cloudwatchlogs.emf.logger.MetricsLogger
-
Set the timestamp to be used for metrics.
- setTimestamp(Instant) - Method in class software.amazon.cloudwatchlogs.emf.model.MetricsContext
-
Update timestamp field in the metadata
- shutdown() - Method in class software.amazon.cloudwatchlogs.emf.sinks.AgentSink
- shutdown() - Method in class software.amazon.cloudwatchlogs.emf.sinks.ConsoleSink
- shutdown() - Method in interface software.amazon.cloudwatchlogs.emf.sinks.ISink
-
Shutdown the sink.
- shutdown() - Method in class software.amazon.cloudwatchlogs.emf.sinks.MultiSink
- SocketClient - Interface in software.amazon.cloudwatchlogs.emf.sinks
-
An interface for clients that connect to a socket.
- SocketClientFactory - Class in software.amazon.cloudwatchlogs.emf.sinks
- SocketClientFactory() - Constructor for class software.amazon.cloudwatchlogs.emf.sinks.SocketClientFactory
- software.amazon.cloudwatchlogs.emf - package software.amazon.cloudwatchlogs.emf
- software.amazon.cloudwatchlogs.emf.config - package software.amazon.cloudwatchlogs.emf.config
- software.amazon.cloudwatchlogs.emf.environment - package software.amazon.cloudwatchlogs.emf.environment
- software.amazon.cloudwatchlogs.emf.exception - package software.amazon.cloudwatchlogs.emf.exception
- software.amazon.cloudwatchlogs.emf.logger - package software.amazon.cloudwatchlogs.emf.logger
- software.amazon.cloudwatchlogs.emf.model - package software.amazon.cloudwatchlogs.emf.model
- software.amazon.cloudwatchlogs.emf.serializers - package software.amazon.cloudwatchlogs.emf.serializers
- software.amazon.cloudwatchlogs.emf.sinks - package software.amazon.cloudwatchlogs.emf.sinks
- software.amazon.cloudwatchlogs.emf.sinks.retry - package software.amazon.cloudwatchlogs.emf.sinks.retry
- software.amazon.cloudwatchlogs.emf.util - package software.amazon.cloudwatchlogs.emf.util
- StringUtils - Class in software.amazon.cloudwatchlogs.emf.util
- SystemWrapper - Class in software.amazon.cloudwatchlogs.emf.config
-
A wrapper class that can be used to mock 'System.getenv' with PowerMock.
T
- TCP - software.amazon.cloudwatchlogs.emf.sinks.Protocol
- TCPClient - Class in software.amazon.cloudwatchlogs.emf.sinks
-
A client that would connect to a TCP socket.
- TCPClient(Endpoint) - Constructor for class software.amazon.cloudwatchlogs.emf.sinks.TCPClient
- TERABITS - software.amazon.cloudwatchlogs.emf.model.Unit
- TERABITS_SECOND - software.amazon.cloudwatchlogs.emf.model.Unit
- TERABYTES - software.amazon.cloudwatchlogs.emf.model.Unit
- TERABYTES_SECOND - software.amazon.cloudwatchlogs.emf.model.Unit
- toByteArray(InputStream) - Static method in class software.amazon.cloudwatchlogs.emf.util.IOUtils
-
Reads and returns the rest of the given input stream as a byte array.
- toJsonString(Object) - Static method in class software.amazon.cloudwatchlogs.emf.util.Jackson
- toString() - Method in enum software.amazon.cloudwatchlogs.emf.model.Unit
- toString() - Method in class software.amazon.cloudwatchlogs.emf.sinks.Endpoint
- toString(InputStream) - Static method in class software.amazon.cloudwatchlogs.emf.util.IOUtils
-
Reads and returns the rest of the given input stream as a string.
U
- UDP - software.amazon.cloudwatchlogs.emf.sinks.Protocol
- Unit - Enum in software.amazon.cloudwatchlogs.emf.model
- UnitDeserializer - Class in software.amazon.cloudwatchlogs.emf.serializers
-
JSON deserializer for StandardUnit type.
- UnitSerializer - Class in software.amazon.cloudwatchlogs.emf.serializers
-
JSON serializer for Unit type.
- Unknown - software.amazon.cloudwatchlogs.emf.environment.Environments
- UNKNOWN - Static variable in class software.amazon.cloudwatchlogs.emf.Constants
- UNKNOWN_TO_SDK_VERSION - software.amazon.cloudwatchlogs.emf.model.Unit
V
- VALID_NAMESPACE_REGEX - Static variable in class software.amazon.cloudwatchlogs.emf.Constants
- validateDimensionSet(String, String) - Static method in class software.amazon.cloudwatchlogs.emf.util.Validator
-
Validates Dimension Set.
- validateMetric(String, double, Unit) - Static method in class software.amazon.cloudwatchlogs.emf.util.Validator
-
Validates Metric.
- validateNamespace(String) - Static method in class software.amazon.cloudwatchlogs.emf.util.Validator
-
Validates Namespace.
- validateTimestamp(Instant) - Static method in class software.amazon.cloudwatchlogs.emf.util.Validator
-
Validates Timestamp.
- Validator - Class in software.amazon.cloudwatchlogs.emf.util
- valueOf(String) - Static method in enum software.amazon.cloudwatchlogs.emf.environment.Environments
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum software.amazon.cloudwatchlogs.emf.model.Unit
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum software.amazon.cloudwatchlogs.emf.sinks.Protocol
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum software.amazon.cloudwatchlogs.emf.environment.Environments
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum software.amazon.cloudwatchlogs.emf.model.Unit
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum software.amazon.cloudwatchlogs.emf.sinks.Protocol
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages