Interface IInternalHotUpgrade
- All Superinterfaces:
IHotUpgrade
-
Method Summary
Modifier and TypeMethodDescriptionvoid
create
(HotUpgradeTask task) Create anHotUpgradeTask
HotUpgradeTask status, createdAt and updatedAt properties are optional.start
(boolean onlyReady, HotUpgradeTaskExecutionMode mode) startLimited
(long maxDuration, HotUpgradeTaskExecutionMode mode) void
update
(HotUpgradeTask task) UpdateHotUpgradeTask
status, failure and updatedAt propertiesMethods inherited from interface net.bluemind.system.api.hot.upgrade.IHotUpgrade
list, progress, running
-
Method Details
-
create
Create anHotUpgradeTask
HotUpgradeTask status, createdAt and updatedAt properties are optional. If status is null, it is set toHotUpgradeTaskStatus.PLANNED
If createdAt and updatedAt are null, they are set to the current timestamp.- Parameters:
task
-
-
update
UpdateHotUpgradeTask
status, failure and updatedAt properties- Parameters:
task
-
-
start
@POST @Path("start") TaskRef start(@QueryParam("onlyReady") boolean onlyReady, HotUpgradeTaskExecutionMode mode) -
startLimited
@POST @Path("limitedStart") TaskRef startLimited(@QueryParam("maxDuration") long maxDuration, HotUpgradeTaskExecutionMode mode)
-