Community
Participate
Working Groups
In support of a providing an accurate progress indicator for import, it would be good if the GLA is able to provide in advance information about total size of a log file or the total number of CBE records within the log file before the import starts. What is needed is a way to "guess" at how many CBEs would be produced from a log. If we could know the size of the log and the avg size of a record (based on say the first 10 extracted), we could make a guess. With this info, we could use the loader to notify the UI after every x CBE are loaded and give the user some progress indication. We would like to look at this for 3.1 i2 if at all possible.
Targetting this for 3.3 i1 because 74900 is targetted for i1.
Committed changes to Hyades Head CVS on Feb. 7, 2005 Files changed or added were: o.e.h.logging.adapter.Adapter o.e.h.logging.adapter.impl.Component o.e.h.logging.adapter.impl.Context - comment only o.e.h.logging.adapter.impl.Controller o.e.h.logging.adapter.impl.Sensor o.e.h.logging.adapter.impl.SensorStatus o.e.h.logging.adapter.sensors.SingleOSFileSensor o.e.h.logging.adapter.util.BufferedPeriodicReader o.e.h.logging.adapter.plugin.properties o.e.h.logging.adapter.config.StaticParserWrapper o.e.h.logging.adapter.config.outputters.StaticParserOutputter o.e.h.logging.adapter.config.sensors.StaticParserSensor o.e.h.logging.commons.Logger o.e.h.logging.commons.LoggerFactory o.e.h.logging.parsers.GLALogger o.e.h.logging.parsers.GLALoggerFactory o.e.h.logging.parsers.MonitoringParser o.e.h.logging.parsers.Parser o.e.h.logging.parsers.RemoteLogParserLoader o.e.h.logging.parsers.StatusMonitor Also included changes for feature enhancement 79009 with this commit.
*** Bug 79009 has been marked as a duplicate of this bug. ***
The changes made for this feature included: 1) Added a SensorStatus class to record the Total Size of the log file and the number of bytes read from the file. 2) Added getStatus() method to StaticParserWrapper to return a status string indicating the values of the SensorStatus object for the adapter sensor. 3) For the Remote Import case, a Status Monitoring thread was added to the RemoteLogParserLoader class to poll the status of the StaticParserWrapper and return the status string via the error logging agent. 4) Added support to RemoteLogParserLoader to return the GLA messages via the error logging agent so that the UI can display them.
Committed changes to TPTP 4.0 Head CVS on February 9, 2005
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.