public final class MPSLastSampleTimestampHandler
extends Object
Admin last-activity time marker utility.
Stores a single-line timestamp in human-readable format under:
/servers//logs/MPS/MPS_last_update_time
Format: "EEE MMM d HH:mm:ss z yyyy"
Example: "Thu Oct 30 08:51:00 IST 2025"
Usage:
- On Admin start: if the file MPS_last_update_time is missing then createFile()
- On every successful 5s tick: writeNow()
- On Admin restart : read() the time stamp from MPS_last_update_time and use for for finding Shutdown time of AdminServer