Package io.higson.runtime.sync
Class ScheduleCache
java.lang.Object
io.higson.runtime.sync.ScheduleCache
- Author:
- przemek hertel
-
Constructor Summary
ConstructorsConstructorDescriptionScheduleCache(Map<String, Schedule> parSchedules, Map<String, Schedule> funSchedules, Map<String, ScheduleContainer> profileToSchedulesMapping, int hash, Collection<RegionVersion> allVersions) -
Method Summary
Modifier and TypeMethodDescriptiongetActiveVersion(String regionCode) getActiveVersion(String profileCode, String regionCode) getFunctionSchedule(String functionCode) intgetHash()getParameterSchedule(String parameterCode) getSchedule(String elementCode, ElementType type) getSchedules(String profileCode) getVersionData(String region, String version) getVersionData(String profileCode, String regionCode, String version) toString()
-
Constructor Details
-
ScheduleCache
public ScheduleCache(Map<String, Schedule> parSchedules, Map<String, Schedule> funSchedules, Map<String, ScheduleContainer> profileToSchedulesMapping, int hash, Collection<RegionVersion> allVersions)
-
-
Method Details
-
getActiveVersion
-
getActiveVersion
-
getVersionData
-
getVersionData
public Optional<RegionVersion> getVersionData(String profileCode, String regionCode, String version) -
getHash
public int getHash() -
getParameterSchedule
-
getFunctionSchedule
-
getSchedule
-
getSchedules
-
toString
-