update.put(PROPERTY.FIXDELAY, delayMs);
Txn.get().getTxnContext().save(update);
}
private void cancelScheduleCommand(final long cmdID) {
final Update update = new Update(ID);
update.put(PROPERTY.STOP, true);
update.put(PROPERTY.COMMAND_ID, cmdID);
Txn.get().getTxnContext().save(update);
final RepeatingCommand command = commandByID.remove(cmdID);
IDByCommand.remove(command);
}