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 State
For use when an Object has stopped processing momentarily, but may be resumed.static final State
For use when an Object is running normally.static final State
For use when the processing is sleeping, or waiting for more input.static final State
For use when an Object is in the process of starting up.static final State
For use when an Object has stopped processing completely, and has released all resources.static final State
For use when an Object is in the process of stopping.static final State
For 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