private class AbstractBusyManager.BusySessionImpl extends Object implements BusySession
BusySession.| Modifier and Type | Field and Description |
|---|---|
private String |
id |
private AbstractBusyManager.BusySessionImpl |
parent
The parent session or
null if this is the top-level session. |
private boolean |
stopped |
| Constructor and Description |
|---|
BusySessionImpl(String id,
AbstractBusyManager.BusySessionImpl parent)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
This method gets the ID used to identify this object.
|
boolean |
isStopped() |
void |
stop()
This method stops this busy session.
|
String |
toString() |
private final AbstractBusyManager.BusySessionImpl parent
null if this is the top-level session.private volatile boolean stopped
isStopped()public BusySessionImpl(String id, AbstractBusyManager.BusySessionImpl parent)
id - - see getId().parent - is the parent AbstractBusyManager.BusySessionImpl or null if this is the top-level
session.public String getId()
getId in interface BusySessiongetId in interface AttributeReadId<String>BusyManager.start(String)public void stop()
BusySession may log a warning but have no further effect. If the top-level
BusySession is stopped, the application client changes from busy
back to idle.stop in interface BusySessionstop in interface Stoppablepublic boolean isStopped()
isStopped in interface BusySessiontrue if this BusySession has already been stopped.Copyright © 2001–2016 mmm-Team. All rights reserved.