Package com.nt.udc.util.state
Class State
java.lang.Object
com.nt.udc.util.state.State
Implements a well-defined set of general-purpose State Objects.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StateFor use when an Object has stopped processing momentarily, but may be resumed.static final StateFor use when an Object is running normally.static final StateFor use when the processing is sleeping, or waiting for more input.static final StateFor use when an Object is in the process of starting up.static final StateFor use when an Object has stopped processing completely, and has released all resources.static final StateFor use when an Object is in the process of stopping.static final StateFor use when an Object is in an unknown state of processing. -
Method Summary
-
Field Details
-
STARTING
For use when an Object is in the process of starting up. -
STOPPING
For use when an Object is in the process of stopping. -
RUNNING
For use when an Object is running normally. -
STOPPED
For use when an Object has stopped processing completely, and has released all resources. -
SLEEPING
For use when the processing is sleeping, or waiting for more input. -
FROZEN
For use when an Object has stopped processing momentarily, but may be resumed. -
UNKNOWN
For use when an Object is in an unknown state of processing.
-
-
Method Details