Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 329263

Summary: [dstore] StatusMonitor updates to be like DStoreStatusMonitor
Product: [Tools] Target Management Reporter: David McKnight <dmcknigh>
Component: RSEAssignee: David McKnight <dmcknigh>
Status: RESOLVED FIXED QA Contact: Martin Oberhuber <mober.at+eclipse>
Severity: normal    
Priority: P3    
Version: 3.0.3   
Target Milestone: 3.3 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 329265    
Attachments:
Description Flags
patch for the update to StatusMonitor none

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.