Package org.oddjob.jmx.client
Class ClientDestroyed
java.lang.Object
org.oddjob.jmx.client.ClientDestroyed
- All Implemented Interfaces:
Serializable,State
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIs a job or service complete?booleanThe job is destroyed.booleanIs a job in an exception state.booleanIs the job executing.booleanIs a job or service incomplete.booleanisReady()Is a job ready to be executed.booleanCan a job be stopped? This is a catch all for jobs that are active or executing.toString()
-
Constructor Details
-
ClientDestroyed
public ClientDestroyed()
-
-
Method Details
-
isReady
public boolean isReady()Description copied from interface:StateIs a job ready to be executed. -
isExecuting
public boolean isExecuting()Description copied from interface:StateIs the job executing. This is normally when the thread of execution is still within the job.- Specified by:
isExecutingin interfaceState- Returns:
- true/false.
-
isStoppable
public boolean isStoppable()Description copied from interface:StateCan a job be stopped? This is a catch all for jobs that are active or executing.- Specified by:
isStoppablein interfaceState- Returns:
- true/false.
-
isComplete
public boolean isComplete()Description copied from interface:StateIs a job or service complete?- Specified by:
isCompletein interfaceState- Returns:
- true/false.
-
isIncomplete
public boolean isIncomplete()Description copied from interface:StateIs a job or service incomplete. The implication of incomplete is that it could be retried to be complete at some future date.- Specified by:
isIncompletein interfaceState- Returns:
- true/false.
-
isException
public boolean isException()Description copied from interface:StateIs a job in an exception state. This is generally due to an unexpected error, as opposed to incomplete which in some way is expected.- Specified by:
isExceptionin interfaceState- Returns:
- true/false.
-
isDestroyed
public boolean isDestroyed()Description copied from interface:StateThe job is destroyed. It is no longer available for anything.- Specified by:
isDestroyedin interfaceState- Returns:
- true/false.
-
toString
-