Class LocalCampaign.SyncedJITResult

  • Enclosing class:
    LocalCampaign

    public static class LocalCampaign.SyncedJITResult
    extends java.lang.Object
    Class used to cache the result of a LocalCampaign after a JIT sync. Keep the timestamp of the sync and whether the campaign was eligible or not.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean eligible
      Whether the campaign was eligible or not after the sync
      long timestamp
      Timestamp of the sync
    • Constructor Summary

      Constructors 
      Constructor Description
      SyncedJITResult​(long timestamp)  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • timestamp

        public long timestamp
        Timestamp of the sync
      • eligible

        public boolean eligible
        Whether the campaign was eligible or not after the sync
    • Constructor Detail

      • SyncedJITResult

        public SyncedJITResult​(long timestamp)