Class LongTermStatsBase.MonthCache
java.lang.Object
com.biglybt.core.stats.transfer.impl.LongTermStatsBase.MonthCache
- Enclosing class:
LongTermStatsBase
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate File
private long[]
getTotals
(int day) private long[]
getTotals
(int day, long start_offset) private boolean
isDirty()
private boolean
isForMonth
(String _year, String _month) private void
save()
private void
setTotals
(int day, long[] totals) private void
setTotals
(int day, long start_offset, long[] totals)
-
Field Details
-
year
-
month
-
dirty
private boolean dirty -
contents
-
-
Constructor Details
-
MonthCache
-
-
Method Details
-
getCacheFile
-
isForMonth
-
getContents
-
getTotals
private long[] getTotals(int day) -
getTotals
private long[] getTotals(int day, long start_offset) -
setTotals
private void setTotals(int day, long[] totals) -
setTotals
private void setTotals(int day, long start_offset, long[] totals) -
isDirty
private boolean isDirty() -
save
private void save()
-