public interface LogUploadConfiguration
Interface for log upload configuration.
Describes threshold values for upload strategy to decide whether logs should be sent or cleaned up.
Reference implementation is (DefaultLogUploadConfiguration
)
and used by default (DefaultLogUploadStrategy
).
Modifier and Type | Method and Description |
---|---|
long |
getBatchVolume()
Retrieves a maximum size of log batch sends to the Operation server.
|
long |
getMaximumAllowedVolume()
Maximum size of memory logs can occupy.
|
long |
getVolumeThreshold()
Retrieves a threshold value of memory occupied by added logs.
|
long getBatchVolume()
Retrieves a maximum size of log batch sends to the Operation server.
NOTE: The upper bound is 32KB due a server limitations
(DefaultLogUploadConfiguration.MAX_BATCH_VOLUME
).
long getVolumeThreshold()
long getMaximumAllowedVolume()
Copyright © 2014. All rights reserved.