public class PeriodicLogUploadStrategy extends DefaultLogUploadStrategy
LogUploadStrategy
.
Issue log upload each timeLimit timeUnit units.Modifier and Type | Field and Description |
---|---|
protected long |
lastUploadTime |
batchCount, batchSize, countThreshold, isUploadLocked, maxParallelUploads, retryPeriod, timeout, uploadCheckPeriod, volumeThreshold
Constructor and Description |
---|
PeriodicLogUploadStrategy(long timeLimit,
TimeUnit timeUnit) |
Modifier and Type | Method and Description |
---|---|
protected LogUploadStrategyDecision |
checkUploadNeeded(LogStorageStatus status) |
getBatchCount, getBatchSize, getCountThreshold, getMaxParallelUploads, getTimeout, getUploadCheckPeriod, getVolumeThreshold, isUploadLocked, isUploadNeeded, lockUpload, onFailure, onTimeout, setBatch, setBatchCount, setCountThreshold, setMaxParallelUploads, setRetryPeriod, setTimeout, setUploadCheckPeriod, setVolumeThreshold, unlockUpload
public PeriodicLogUploadStrategy(long timeLimit, TimeUnit timeUnit)
protected LogUploadStrategyDecision checkUploadNeeded(LogStorageStatus status)
checkUploadNeeded
in class DefaultLogUploadStrategy
Copyright © 2015. All rights reserved.