|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.rse.services.dstore.util.DStoreStatusMonitor
public class DStoreStatusMonitor
Field Summary | |
---|---|
protected List |
_cancelledStatuses
|
protected DataStore |
_dataStore
|
protected List |
_doneStatuses
|
protected boolean |
_networkDown
|
protected List |
_workingStatuses
|
Constructor Summary | |
---|---|
DStoreStatusMonitor(DataStore dataStore)
Construct a StatusChangeListener |
Method Summary | |
---|---|
boolean |
determineStatusDone(DataElement status)
Determines whether the status is done. |
void |
dispose()
|
void |
domainChanged(DomainEvent event)
|
DataElement |
getCommandStatus(DataElement cmdDescriptor,
DataElement subject)
Returns the status of a running command for the specified cmd desciptor and subject. |
DataStore |
getDataStore()
|
boolean |
isNetworkDown()
Test if the StatusChangeListener returned because the network connection to the remote system was broken. |
boolean |
isPassiveCommunicationsListener()
|
boolean |
listeningTo(DomainEvent event)
|
void |
notifyUpdate()
Causes all threads waiting for this class request to be filled to wake up. |
void |
reInit()
|
void |
setCancelled(DataElement status)
|
void |
setDone(DataElement status)
setDone(boolean) |
void |
setWorking(DataElement status)
|
void |
waitForUpdate()
Causes the current thread to wait until this class request has been fulfilled. |
DataElement |
waitForUpdate(DataElement status)
|
DataElement |
waitForUpdate(DataElement status,
int wait)
|
DataElement |
waitForUpdate(DataElement status,
IProgressMonitor monitor)
|
DataElement |
waitForUpdate(DataElement status,
IProgressMonitor monitor,
int wait)
|
boolean |
wasCancelled(DataElement status)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean _networkDown
protected List _workingStatuses
protected List _cancelledStatuses
protected List _doneStatuses
protected DataStore _dataStore
Constructor Detail |
---|
public DStoreStatusMonitor(DataStore dataStore)
dataStore
- the dataStore associated with this monitorMethod Detail |
---|
public void reInit()
public DataStore getDataStore()
public void dispose()
public boolean listeningTo(DomainEvent event)
listeningTo
in interface IDomainListener
IDomainListener.listeningTo(DomainEvent)
public void domainChanged(DomainEvent event)
domainChanged
in interface IDomainListener
IDomainListener.domainChanged(DomainEvent)
public boolean determineStatusDone(DataElement status)
true
if status done, false
otherwise.public boolean isPassiveCommunicationsListener()
public void setDone(DataElement status)
public void setCancelled(DataElement status)
public void setWorking(DataElement status)
public boolean wasCancelled(DataElement status)
public boolean isNetworkDown()
public DataElement waitForUpdate(DataElement status) throws InterruptedException
InterruptedException
public DataElement waitForUpdate(DataElement status, IProgressMonitor monitor) throws InterruptedException
InterruptedException
public DataElement waitForUpdate(DataElement status, int wait) throws InterruptedException
InterruptedException
public DataElement waitForUpdate(DataElement status, IProgressMonitor monitor, int wait) throws InterruptedException
InterruptedException
public DataElement getCommandStatus(DataElement cmdDescriptor, DataElement subject)
cmdDescriptor
- subject
-
public void waitForUpdate()
public void notifyUpdate()
|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |