public class DefaultLogUploadConfiguration extends Object implements LogUploadConfiguration
LogUploadConfiguration
.Modifier and Type | Field and Description |
---|---|
static long |
MAX_BATCH_VOLUME |
Constructor and Description |
---|
DefaultLogUploadConfiguration(long batchVolume,
long volumeThreshold,
long maximumAllowedVolume) |
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.
|
public static final long MAX_BATCH_VOLUME
public DefaultLogUploadConfiguration(long batchVolume, long volumeThreshold, long maximumAllowedVolume)
public long getBatchVolume()
LogUploadConfiguration
Retrieves a maximum size of log batch sends to the Operation server.
NOTE: The upper bound is 32KB due a server limitations
(MAX_BATCH_VOLUME
).
getBatchVolume
in interface LogUploadConfiguration
public long getMaximumAllowedVolume()
LogUploadConfiguration
getMaximumAllowedVolume
in interface LogUploadConfiguration
public long getVolumeThreshold()
LogUploadConfiguration
getVolumeThreshold
in interface LogUploadConfiguration
Copyright © 2014. All rights reserved.