AtlasOfLivingAustralia / biocache-store

Occurrence processing, indexing and batch processing
Other
7 stars 24 forks source link

issue #286 : Threadsafe counts and timing #287

Closed ansell closed 5 years ago

ansell commented 5 years ago

Cannot rely on current counts to identify other potential data or biocache-store bugs

Also switches to using sentinels for StringConsumer to avoid hacky queue.empty semantics

Also adds thread based interruption to avoid having consumers sitting inactive after the VM has been interrupted.

Signed-off-by: Peter Ansell p_ansell@yahoo.com