@FunctionalInterface
public interface PurgeListener
StationTracker
has pruned old messages
from its history, and the listener can do corresponding pruning of its own.Modifier and Type | Method and Description |
---|---|
void |
pruneOccurred(long oldestToBeKept,
boolean msgsWereDeleted,
boolean stationsWereDeleted)
Called when
StationTracker has finished its pruning. |
void pruneOccurred(long oldestToBeKept, boolean msgsWereDeleted, boolean stationsWereDeleted)
StationTracker
has finished its pruning.oldestToBeKept
- Unix time in milliseconds since midnight Jan 1 1970 UTC of the oldest
realtime information that should be keptmsgsWereDeleted
- boolean true if any packets were purgedstationsWereDeleted
- boolean true if any stations or objects were purged