|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConfigurableUpdate
Update which can be chosen its servers.
| Method Summary | |
|---|---|
ConfigurableUpdate |
enableAutoStrategy(boolean ignoreWarnings)
Use whatever-is-clever for given update. |
ConfigurableUpdate |
enableOffline()
Use the off-line version update mode. |
ConfigurableUpdate |
enableRolling()
Use the rolling restart update mode. |
ConfigurableUpdate |
enableScriptExecution()
Enables script execution steps for this update. |
ConfigurableUpdate |
on(Collection<String> serverIds)
Change the version only on the given servers. |
ConfigurableUpdate |
on(String serverId)
Change the version only on the given server. |
ConfigurableUpdate |
onGroup(String groupName)
Change the version only on the given group. |
ConfigurableUpdate |
onGroups(Collection<String> groupNames)
Change the version only on the given groups. |
ConfigurableUpdate |
setScriptExecutionDescription(File scriptDescription)
|
ConfigurableUpdate |
withTimeout(int seconds)
Change the timeout value for: in case of HOTPATCH: waiting for current requests to finish in case of ROLLING: waiting for session drain to finish in case of OFFLINE: waiting for current socket connections to close |
| Methods inherited from interface com.zeroturnaround.liverebel.api.update.PreparedPausableUpdate |
|---|
executeWithPause, startWithPause |
| Methods inherited from interface com.zeroturnaround.liverebel.api.update.PreparedUpdate |
|---|
execute, start |
| Method Detail |
|---|
ConfigurableUpdate on(String serverId)
serverId - server Id.ConfigurableUpdate on(Collection<String> serverIds)
serverIds - server Ids.ConfigurableUpdate onGroup(String groupName)
groupName - group's name.ConfigurableUpdate onGroups(Collection<String> groupNames)
groupNames - groups' names.ConfigurableUpdate withTimeout(int seconds)
seconds - timeout value (in seconds).ConfigurableUpdate enableOffline()
ConfigurableUpdate enableRolling()
ConfigurableUpdate enableScriptExecution()
ConfigurableUpdate enableAutoStrategy(boolean ignoreWarnings)
ConfigurableUpdate setScriptExecutionDescription(File scriptDescription)
scriptDescription - - file with a description of which scripts to run
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||