LP#
1705728 Batch fine gen. caching/parallel optimize
* Fine generator caches org unit setting values per instance. Once
cached, the number of cstore calls per transaction is reduced by
3 to 5 calls, depending on context / settings.
* Fine generator disconnects from cstore after processing each
transaction giving cstores a chance to recycle and avoid memory
gobbling on huge batches.
* Fine generator now collects parallel batches of transactions directly
within the server-side generator API instead of requiring the caller
to collect transactions up front for individual processing. This lets
us take advantage of the new org setting caching.
* Fine generator script improvements:
** Arguments are passed via GetOpt, with support for legacy-style
opensrf config and lockfile name passing (with warning).
** supports a --parallel option to override the value from opensrf.xml.
** Sets OSRF_LOG_CLIENT for log tracing.
Signed-off-by: Bill Erickson <berickxx@gmail.com>