Interface IInternalHotUpgrade
- All Superinterfaces:
IHotUpgrade
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(HotUpgradeTask task) Create anHotUpgradeTaskHotUpgradeTask status, createdAt and updatedAt properties are optional.start(boolean onlyReady, HotUpgradeTaskExecutionMode mode) startLimited(long maxDuration, HotUpgradeTaskExecutionMode mode) voidupdate(HotUpgradeTask task) UpdateHotUpgradeTaskstatus, failure and updatedAt propertiesMethods inherited from interface net.bluemind.system.api.hot.upgrade.IHotUpgrade
list, progress, running
-
Method Details
-
create
Create anHotUpgradeTaskHotUpgradeTask status, createdAt and updatedAt properties are optional. If status is null, it is set toHotUpgradeTaskStatus.PLANNEDIf createdAt and updatedAt are null, they are set to the current timestamp.- Parameters:
task-
-
update
UpdateHotUpgradeTaskstatus, 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)
-