|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ElasticInstanceScheduleManager
Manages the cron schedule for bringing up & down elastic instances
Method Summary | |
---|---|
ElasticInstanceSchedule |
getElasticInstanceSchedule(long elasticInstanceScheduleId)
Gets the schedule associated with that id. |
List<ElasticInstanceSchedule> |
getElasticInstanceSchedules()
Returns all schedules available in the system (enabled and disabled) |
List<ElasticInstanceSchedule> |
getElasticInstanceSchedules(ElasticImageConfiguration elasticImageConfiguration)
Returns schedules related to ElasticImageConfiguration (both enabled and disabled) |
void |
removeElasticInstanceSchedule(ElasticInstanceSchedule schedule)
Remove schedule and associated cron trigger |
void |
removeElasticInstanceSchedule(long elasticInstanceScheduleId)
Remove schedule and associated cron trigger |
void |
saveElasticInstanceSchedule(ElasticInstanceSchedule schedule)
Updates or creates the schedule. |
Method Detail |
---|
@NotNull List<ElasticInstanceSchedule> getElasticInstanceSchedules()
@NotNull List<ElasticInstanceSchedule> getElasticInstanceSchedules(@NotNull ElasticImageConfiguration elasticImageConfiguration)
ElasticImageConfiguration
(both enabled and disabled)
ElasticInstanceSchedule
or empty list if nothing was found@Nullable ElasticInstanceSchedule getElasticInstanceSchedule(long elasticInstanceScheduleId)
elasticInstanceScheduleId
-
void saveElasticInstanceSchedule(ElasticInstanceSchedule schedule)
schedule
- schedule to be savedvoid removeElasticInstanceSchedule(@NotNull ElasticInstanceSchedule schedule)
schedule
- schedule to removevoid removeElasticInstanceSchedule(long elasticInstanceScheduleId)
elasticInstanceScheduleId
- id of schedule to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |