Output Manager Singleton |
Top Previous Next |
•With the output part of the solution xml the out putters are instantiated in their given format and field (var-Map), frequence (Yearly, Monthly, Daily, Complex) and generalization method (Sum,Mean,Max, Min, Complex Rule (Value at day of Anthesis))
•Singleton implementation
•Holds different out putters for the model threads
•Ensures the efficient use of the resources
•Takes data via Value Objects
•Values are piped into the different output adapters
•Division between Data format and content using IO Interfaces
•Able to abstract data access format as
- Database via SQL
- Excel (csv)
- Memory
•Uses File Access Pool and Connection Pool
•Have own Threads for writing output