public interface RestartLoopProtectionMBean extends ConfigurationMBean
RestartLoopProtectionMBean defines the configuration
to stop the partition from entering an endless restart loop.
It is an optional configuration and when enabled it is a
resource manager wide configuration.
DEFAULT_EMPTY_BYTE_ARRAY| Modifier and Type | Method and Description |
|---|---|
long |
getMaxRestartAllowed()
Gets the value of max-restart-allowed.
|
long |
getMaxRestartAllowedInterval()
Gets the value of max-restart-allowed-interval.
|
long |
getRestartDelay()
The restart delay.
|
boolean |
isRestartLoopProtectionEnabled()
Checks if restart loop protection is enabled.
|
void |
setMaxRestartAllowed(long value)
Assigns the value of max-restart-allowed.
|
void |
setMaxRestartAllowedInterval(long value)
Assigns the value of max-restart-allowed-interval.
|
void |
setRestartDelay(long value)
Sets the restart delay.
|
void |
setRestartLoopProtectionEnabled(boolean isEnabled)
Enables or disables restart loop protection.
|
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSetgetMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParentgetAttribute, getAttributes, invoke, setAttribute, setAttributespostDeregister, postRegister, preDeregister, preRegisteraddNotificationListener, getNotificationInfo, removeNotificationListeneraddPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListenerboolean isRestartLoopProtectionEnabled()
void setRestartLoopProtectionEnabled(boolean isEnabled)
isEnabled - RestartLoopProtectionMBean.isRestartLoopProtectionEnabled()long getMaxRestartAllowed()
void setMaxRestartAllowed(long value)
value - The max-restart-allowed value.long getMaxRestartAllowedInterval()
void setMaxRestartAllowedInterval(long value)
value - The max-restart-allowed-interval value.long getRestartDelay()
void setRestartDelay(long value)
value - The restart delay.