Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329263 - [dstore] StatusMonitor updates to be like DStoreStatusMonitor
Summary: [dstore] StatusMonitor updates to be like DStoreStatusMonitor
Status: RESOLVED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 3.0.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M3   Edit
Assignee: David McKnight CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 329265
  Show dependency tree
 
Reported: 2010-11-02 10:50 EDT by David McKnight CLA
Modified: 2010-11-09 10:53 EST (History)
0 users

See Also:


Attachments
patch for the update to StatusMonitor (7.01 KB, patch)
2010-11-02 10:56 EDT, David McKnight CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David McKnight CLA 2010-11-02 10:50:59 EDT
The StatusMonitor class needs to be updated to include the same changes that have been made to DStoreStatusMonitor.
Comment 1 David McKnight CLA 2010-11-02 10:54:24 EDT
The changes include:
1) using wait/notifyAll for event handling instead of sleep calls
2) not distinguishing between main thread and non-main thread waiting since Display.readAndDispatch() should not be used.
3) checking to make sure that the DataStore status is "Okay"
Comment 2 David McKnight CLA 2010-11-02 10:56:35 EDT
Created attachment 182213 [details]
patch for the update to StatusMonitor
Comment 3 David McKnight CLA 2010-11-02 11:01:56 EDT
I've committed the change to cvs.