public interface StopableObject
shutDown()
. This method shall
ensure, that all opened connections will be closed and all started threads shut down as well. To determine if the
object has been shut down, the method isActive()
may be called.Modifier and Type | Method and Description |
---|---|
boolean |
isActive()
Determines whether the method
shutDown() has been called on this object or not. |
void |
shutDown()
Shuts the object down.
|
boolean isActive()
shutDown()
has been called on this object or not.true
if the object has been shut down, otherwise false
.void shutDown()