|
RSE Release 3.0 |
|||||||||
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 org.eclipse.dstore.core.model.DataStore |
_dataStore
|
protected List |
_doneStatuses
|
protected boolean |
_networkDown
|
protected List |
_workingStatuses
|
Constructor Summary | |
---|---|
DStoreStatusMonitor(org.eclipse.dstore.core.model.DataStore dataStore)
Construct a StatusChangeListener |
Method Summary | |
---|---|
boolean |
determineStatusDone(org.eclipse.dstore.core.model.DataElement status)
Determines whether the status is done. |
void |
dispose()
|
void |
domainChanged(org.eclipse.dstore.extra.DomainEvent event)
|
org.eclipse.dstore.core.model.DataElement |
getCommandStatus(org.eclipse.dstore.core.model.DataElement cmdDescriptor,
org.eclipse.dstore.core.model.DataElement subject)
Returns the status of a running command for the specified cmd desciptor and subject. |
org.eclipse.dstore.core.model.DataStore |
getDataStore()
|
boolean |
isNetworkDown()
Test if the StatusChangeListener returned because the network connection to the remote system was broken. |
boolean |
isPassiveCommunicationsListener()
|
boolean |
listeningTo(org.eclipse.dstore.extra.DomainEvent event)
|
void |
notifyUpdate()
Causes all threads waiting for this class request to be filled to wake up. |
void |
reInit()
|
void |
setCancelled(org.eclipse.dstore.core.model.DataElement status)
|
void |
setDone(org.eclipse.dstore.core.model.DataElement status)
setDone(boolean) |
void |
setWorking(org.eclipse.dstore.core.model.DataElement status)
|
void |
waitForUpdate()
Causes the current thread to wait until this class request has been fulfilled. |
org.eclipse.dstore.core.model.DataElement |
waitForUpdate(org.eclipse.dstore.core.model.DataElement status)
|
org.eclipse.dstore.core.model.DataElement |
waitForUpdate(org.eclipse.dstore.core.model.DataElement status,
int wait)
|
org.eclipse.dstore.core.model.DataElement |
waitForUpdate(org.eclipse.dstore.core.model.DataElement status,
IProgressMonitor monitor)
|
org.eclipse.dstore.core.model.DataElement |
waitForUpdate(org.eclipse.dstore.core.model.DataElement status,
IProgressMonitor monitor,
int wait)
|
boolean |
wasCancelled(org.eclipse.dstore.core.model.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 org.eclipse.dstore.core.model.DataStore _dataStore
Constructor Detail |
---|
public DStoreStatusMonitor(org.eclipse.dstore.core.model.DataStore dataStore)
dataStore
- the dataStore associated with this monitorMethod Detail |
---|
public void reInit()
public org.eclipse.dstore.core.model.DataStore getDataStore()
public void dispose()
public boolean listeningTo(org.eclipse.dstore.extra.DomainEvent event)
listeningTo
in interface org.eclipse.dstore.extra.IDomainListener
IDomainListener.listeningTo(DomainEvent)
public void domainChanged(org.eclipse.dstore.extra.DomainEvent event)
domainChanged
in interface org.eclipse.dstore.extra.IDomainListener
IDomainListener.domainChanged(DomainEvent)
public boolean determineStatusDone(org.eclipse.dstore.core.model.DataElement status)
true
if status done, false
otherwise.public boolean isPassiveCommunicationsListener()
public void setDone(org.eclipse.dstore.core.model.DataElement status)
public void setCancelled(org.eclipse.dstore.core.model.DataElement status)
public void setWorking(org.eclipse.dstore.core.model.DataElement status)
public boolean wasCancelled(org.eclipse.dstore.core.model.DataElement status)
public boolean isNetworkDown()
public org.eclipse.dstore.core.model.DataElement waitForUpdate(org.eclipse.dstore.core.model.DataElement status) throws InterruptedException
InterruptedException
public org.eclipse.dstore.core.model.DataElement waitForUpdate(org.eclipse.dstore.core.model.DataElement status, IProgressMonitor monitor) throws InterruptedException
InterruptedException
public org.eclipse.dstore.core.model.DataElement waitForUpdate(org.eclipse.dstore.core.model.DataElement status, int wait) throws InterruptedException
InterruptedException
public org.eclipse.dstore.core.model.DataElement waitForUpdate(org.eclipse.dstore.core.model.DataElement status, IProgressMonitor monitor, int wait) throws InterruptedException
InterruptedException
public org.eclipse.dstore.core.model.DataElement getCommandStatus(org.eclipse.dstore.core.model.DataElement cmdDescriptor, org.eclipse.dstore.core.model.DataElement subject)
cmdDescriptor
- subject
-
public void waitForUpdate()
public void notifyUpdate()
|
RSE Release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |