apache/incubator-streams — pull request #108 by rbnks (2014-10-20 21:16:54+00:00)
Title: STREAMS-198 | Depricate DatumCountable

Related to pull request #107, should be reviewed after it is merged.

Depricated DatumCountable and DatumStatusCounter. They are both incorrectly located in streams-core, as they are runtime specific classes. They should be scheduled to be deleted from the repo. This pull request only adds @Depreicated tags to classes and methods. It also turns off the printed monitoring to the console by default, but allows it to still be used if desired.

The printing uses extras threads to monitor things that could be monitored through JMX instead. Also the implementation of the countables does not allow counts across threads. It is a good implementation for single thread counts, but the new implementation should make this obsolete and also will be correctly located in the streams-local package.