| Constructor and Description |
|---|
FileBasedCallable(com.amazonaws.services.cloudwatch.AmazonCloudWatch client,
String filePath,
String namespace,
int millisBetweenRun)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
call() |
void |
setMaxTimeToKeepFilesInMillis(long maxTimeToKeepFilesInMillis)
Set the logs retention period.
|
public FileBasedCallable(com.amazonaws.services.cloudwatch.AmazonCloudWatch client,
String filePath,
String namespace,
int millisBetweenRun)
client - AWS CW clientfilePath - location where logs are persistednamespace - CW namespacemillisBetweenRun - time to sleep between 2 runsCopyright © 2018. All rights reserved.