com.neeve.ods
Interface IStorePersisterStats

All Superinterfaces:
IStats, IStoreWriterStats
All Known Subinterfaces:
IRogLogStats

public interface IStorePersisterStats
extends IStoreWriterStats

Defines an ODS store persister's statistics interface.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.neeve.stats.IStats
IStats.Counter, IStats.Gauge, IStats.Latencies, IStats.Series
 
Method Summary
 long getFileSize()
          Get the log file size.
 long getFileSizeUsed()
          Get the log file's allocated size.
 
Methods inherited from interface com.neeve.ods.IStoreWriterStats
getDisruptorCapacity, getDisruptorClaimStrategy, getDisruptorRemaining, getDisruptorWaitStrategy, getNumCommits, getNumForks, getNumPutsRecorded, getNumRemovesRecorded, getNumSendsRecorded, getNumUpdatesRecorded, getOfferToPollLatencies, isDetached
 
Methods inherited from interface com.neeve.stats.IStats
close, get, getLogger, getName, getType, startPeriodicOutput, stopPeriodicOutput
 

Method Detail

getFileSize

long getFileSize()
Get the log file size.

This method returns the amount of space used in the log file which may be less than the size on disk if the file has been preallocated to a larger size.

Returns:
Returns the log's log file size.

getFileSizeUsed

long getFileSizeUsed()
Get the log file's allocated size.

This method returns the actual size of the log file currently allocated. This call differs from getFileSize() in that this value may be greater if the log has been preallocated to a larger size.

Returns:
Returns the log's log file size.


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.