public interface LogStorageStatus
Interface for a log storage status.
Retrieves information about current status of the log storage. Used by a log upload strategy on each adding of new log record in order to check whether to send logs to the server or clean up local storage.
Reference implementation is present and use by default
(MemoryLogStorage
).
Modifier and Type | Method and Description |
---|---|
long |
getConsumedVolume()
Retrieves current log storage size used by added records.
|
long |
getRecordCount()
Retrieves current number of added records.
|
Copyright © 2015. All rights reserved.