public interface StuckThreadActionMBean extends ConfigurationMBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
APP_ADMIN_MODE
Suspend the application that hosts the stuck WorkManager
|
static java.lang.String |
IGNORE_STUCK_THREADS
Do not perform any stuck thread handling.
|
static java.lang.String |
SERVER_FAILED
Mark the server as failed on detecting stuck threads.
|
static java.lang.String |
SHUTDOWN_WORKMANAGER
Shutdown the WorkManager when the stuck thread limit is exceeded.
|
DEFAULT_EMPTY_BYTE_ARRAY
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getActionCode()
Action to be taken when the stuck thread limit is reached.
|
java.lang.String |
getApplicationName()
Application name to which the stuck WorkManager belongs
|
int |
getMaxStuckThreadsCount()
Minimum number of stuck threads required to take action
|
java.lang.String |
getModuleName()
Module name to which the stuck WorkManager belongs
|
java.lang.String |
getWorkManagerName()
WorkManager name for which stuck thread actions need to be performed.
|
void |
setActionCode(java.lang.String code)
Action to be taken when the stuck thread limit is reached.
|
void |
setApplicationName(java.lang.String name)
Application name to which the stuck WorkManager belongs
|
void |
setMaxStuckThreadsCount(int count)
Minimum number of stuck threads required to take action
|
void |
setModuleName(java.lang.String name)
Module name to which the stuck WorkManager belongs
|
void |
setWorkManagerName(java.lang.String name)
WorkManager name for which stuck thread actions need to be performed.
|
addTag, freezeCurrentValue, getComments, getId, getInheritedProperties, getName, getNotes, getTags, isDefaultedMBean, isDynamicallyCreated, isInherited, isPersistenceEnabled, isSet, removeTag, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, setTags, touch, unSet
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
getAttribute, getAttributes, invoke, setAttribute, setAttributes
postDeregister, postRegister, preDeregister, preRegister
addNotificationListener, getNotificationInfo, removeNotificationListener
addBeanUpdateListener, addPropertyChangeListener, createChildCopy, createChildCopyIncludingObsolete, getDescriptor, getParentBean, isEditable, removeBeanUpdateListener, removePropertyChangeListener
static final java.lang.String IGNORE_STUCK_THREADS
static final java.lang.String SHUTDOWN_WORKMANAGER
static final java.lang.String APP_ADMIN_MODE
static final java.lang.String SERVER_FAILED
void setWorkManagerName(java.lang.String name)
java.lang.String getWorkManagerName()
void setModuleName(java.lang.String name)
java.lang.String getModuleName()
void setApplicationName(java.lang.String name)
java.lang.String getApplicationName()
void setMaxStuckThreadsCount(int count)
int getMaxStuckThreadsCount()
void setActionCode(java.lang.String code)
java.lang.String getActionCode()