Interface PurgeListener

All Known Implementing Classes:
DXTableModel
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface PurgeListener
This interface defines a callback by which another message-containing object can be informed that the StationTracker has pruned old messages from its history, and the listener can do corresponding pruning of its own.
Author:
Andrew Pavlin, KA2DDO
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    pruneOccurred(long oldestToBeKept, boolean msgsWereDeleted, boolean stationsWereDeleted)
    Called when StationTracker has finished its pruning.
  • Method Details

    • pruneOccurred

      void pruneOccurred(long oldestToBeKept, boolean msgsWereDeleted, boolean stationsWereDeleted)
      Called when StationTracker has finished its pruning.
      Parameters:
      oldestToBeKept - Unix time in milliseconds since midnight Jan 1 1970 UTC of the oldest realtime information that should be kept
      msgsWereDeleted - boolean true if any packets were purged
      stationsWereDeleted - boolean true if any stations or objects were purged