-
Method Summary
boolean
Returns true if this resource has been shut down.
boolean
Returns true if the resource has completed shutting down.
-
Method Details
-
isShutdown
boolean isShutdown()
Returns true if this resource has been shut down.
- Returns:
- true if this resource has been shut down
-
isTerminated
boolean isTerminated()
Returns true if the resource has completed shutting down.
Note that isTerminated is never true unless
shutdown was called first.
- Returns:
- true if the resource has completed shutting down.