Package org.bedework.bwlogs
Class AccessTracker
- java.lang.Object
-
- org.bedework.bwlogs.AccessTracker
-
public class AccessTracker extends Object
Tracks accesses. Will initialise from an access log file or directory containing such files. Once initialised can be updated as requests arrive to maintain counts. User: mike Date: 2/23/20 Time: 00:39
-
-
Constructor Summary
Constructors Constructor Description AccessTracker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessDaygetDay(String key)List<String>getSortedKeys()voidupdateFrom(AccessLogEntry ale)Update from the given access log entry.
-
-
-
Method Detail
-
updateFrom
public void updateFrom(AccessLogEntry ale)
Update from the given access log entry. These should appear in increasing time order.- Parameters:
ale- access log entry
-
-