Implements the MaskTracker feature.
Package Specification
TBD
Design Patterns (Object Factory)
The only design pattern used in the Mask Tracker is the singleton
reference. This is used for the Mask Listeners that receive and
generate reports. The Automatic Updater is also a Singleton
reference.
Refactoring
-
Update Sql in propogateMaskInfo in Updater for Statuses to be
more robust This has a dependency based on Minimum value. This
will break as new statuses are added.
-
Not quite sure how to address this one but VIRMOS ob's are big
What will happen the Object Manager when a lot of these OB's
are sent to BOB and the OT is running for days.
See my notes in the persistence Summary for issues relating
to the object manager and possible solutions.
-
A lot of the code here looks unusual but the design was simply
dictated to us and there was not a lot we could do about
it. JNI is used to communicate between BOB and the MaskTracker
/ OT and the interface is hard coded.
Maintenance Issues
- Always make sure the Updater thread gets run before a report
that comes from BOB is processed.
- Always save to disk any report that comes from BOB.
- Review code to make it work with FORS according to specification
- Generally review this code as it was rushed for the dry runs
-
When a file is processed it is treated as one transaction. Any
changes to the code should keep this in tact.