Class EventHistoryResult

  • All Implemented Interfaces:

    
    public final class EventHistoryResult
    
                        

    Passed to callback of ExtensionApi.getHistoricalEvents API to represent the result of event look up in EventHistoryDatabase

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EventHistoryResult

        EventHistoryResult(Integer count, Long oldestOccurrence, Long newestOccurrence)
        Parameters:
        count - The number of occurrences of the event in the event history database or -1 if an error occurred
        oldestOccurrence - The timestamp in milliseconds of the oldest occurrence of the event in the event history database.
        newestOccurrence - The timestamp in milliseconds of the newest occurrence of the event in the event history database.
    • Method Detail