Class MpDomainRefreshController

java.lang.Object
io.higson.runtime.core.domain.MpDomainRefreshController

public class MpDomainRefreshController extends Object
  • Field Details

    • dao

      protected final DomainCacheDao dao
    • mainTimestamp

      protected Date mainTimestamp
    • regionVersionTimestamp

      protected Date regionVersionTimestamp
    • definitionTimestamp

      protected Date definitionTimestamp
    • timestampByProfile

      protected Map<String,Date> timestampByProfile
  • Constructor Details

    • MpDomainRefreshController

      public MpDomainRefreshController(DomainCacheDao dao)
  • Method Details

    • print

      public static String print(Date d)
    • wasSomethingChange

      public boolean wasSomethingChange(Set<String> profiles)
    • getPossibleModification

      public Set<String> getPossibleModification(Map<String,Date> lastUpdatesByProfile, Set<String> profiles)
    • updateTimestampByProfile

      public void updateTimestampByProfile(Map<String,Date> lastUpdatesByProfile, String profile)
    • getLastUpdatesByProfile

      public Map<String,Date> getLastUpdatesByProfile()
    • updateTimestampsForProfile

      public void updateTimestampsForProfile(String profileCode)
    • updateTimestampForProfile

      protected void updateTimestampForProfile(String profileCode, Date tmp)