public interface ConfigurableUpdate extends PreparedPausableUpdate
| Modifier and Type | Method and Description |
|---|---|
ConfigurableUpdate |
disableScriptExecution()
Enables script execution steps for this update.
|
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 |
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 |
setScriptEntriesArchive(File scriptEntriesArchive) |
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
|
executeWithPause, startWithPauseexecute, startConfigurableUpdate 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 disableScriptExecution()
ConfigurableUpdate enableAutoStrategy(boolean ignoreWarnings)
ConfigurableUpdate setScriptExecutionDescription(File scriptDescription)
scriptDescription - - file with a description of which scripts to runConfigurableUpdate setScriptEntriesArchive(File scriptEntriesArchive)
entryArchive - - file, where are accumulated all entries used in scriptExecutionDescription,
this file can be forwarded to the CC and nodes, so they'll have access to the scripts.Copyright © 2012. All Rights Reserved.