public class JDBCDataSourceTaskRuntimeMBeanImpl extends TaskRuntimeMBeanImpl implements JDBCDataSourceTaskRuntimeMBean
Modifier and Type | Field and Description |
---|---|
private static int |
num |
beginTime, description, endTime, error, running, status, subTasks, systemTask
descriptor, name, parent, registered, type
PROGRESS_FAILED, PROGRESS_PENDING, PROGRESS_PROCESSING, PROGRESS_SUCCESS
Constructor and Description |
---|
JDBCDataSourceTaskRuntimeMBeanImpl(java.lang.String nameArg,
RuntimeMBean parentArg,
boolean registerNow)
Constructor for the RuntimeMBeanDelegate object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProgress()
The progress of this task.
|
boolean |
isRunning()
Determines if the current task is executing.
|
void |
setBeginTime(long beginTime) |
void |
setDescription(java.lang.String description) |
void |
setEndTime(long endTime) |
void |
setError(java.lang.Exception error) |
void |
setStatus(java.lang.String status) |
cancel, getBeginTime, getDescription, getEndTime, getError, getParentTask, getStatus, getSubTasks, isSystemTask, printLog, setSubTasks, setSystemTask
_createHelper, _postSet, _postSet, _postSet, _postSet, _postSet, addChild, addNotificationListener, addPropertyChangeListener, createChildCopy, getAttribute, getAttributes, getMBeanInfo, getMetaData, getName, getNotificationInfo, getObjectName, getParent, getParentAttribute, getPropertyChangeListeners, getRegistrationManager, getRestParent, getType, invoke, isCachingDisabled, isEditable, isRegistered, pluralize, postDeregister, postRegister, preDeregister, preRegister, register, removeChild, removeNotificationListener, removePropertyChangeListener, setAttribute, setAttributes, setMetaData, setName, setParent, setRestParent, setRuntimeMBeanHelper, setType, unregister
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancel, getBeginTime, getDescription, getEndTime, getError, getParentTask, getStatus, getSubTasks, isSystemTask, printLog, setSystemTask
addPropertyChangeListener, preDeregister, removePropertyChangeListener
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
getAttribute, getAttributes, invoke, setAttribute, setAttributes
public JDBCDataSourceTaskRuntimeMBeanImpl(java.lang.String nameArg, RuntimeMBean parentArg, boolean registerNow) throws ManagementException
nameArg
- parentArg
- ManagementException
public void setDescription(java.lang.String description)
setDescription
in class TaskRuntimeMBeanImpl
public void setStatus(java.lang.String status)
setStatus
in class TaskRuntimeMBeanImpl
public void setBeginTime(long beginTime)
setBeginTime
in class TaskRuntimeMBeanImpl
public void setEndTime(long endTime)
setEndTime
in class TaskRuntimeMBeanImpl
public void setError(java.lang.Exception error)
setError
in class TaskRuntimeMBeanImpl
public java.lang.String getProgress()
TaskRuntimeMBean
The progress of this task.
getProgress
in interface TaskRuntimeMBean
public boolean isRunning()
isRunning
in interface TaskRuntimeMBean
isRunning
in class TaskRuntimeMBeanImpl