diff options
author | Piotr Jaszczyk <piotr.jaszczyk@nokia.com> | 2018-04-11 16:29:30 +0200 |
---|---|---|
committer | Piotr Jaszczyk <piotr.jaszczyk@nokia.com> | 2018-04-12 14:44:29 +0200 |
commit | 17859bdd1f24904d2a9162a1a43f9db222750f4a (patch) | |
tree | 30b10e32d2554807065c7679f56a86f2831e60b3 /README.md | |
parent | 88d7666478e5e98e24ef32637a7580c9809f9458 (diff) |
Optimize and refactor EventPublisher class in VES
* Remove need for having sendEvent synchronized by means of using
Guava LoadingCache. The only thing that made it synchronized was the
creation of new entries in the map but the synchronization was made
on each incoming event.
* Split the class to smaller classes which conform to SRP. This makes us
able to...
* ... write unit tests for affected classes
* TODO: upgrade to Java8 so lambdas will simplify the code even more
Change-Id: I14cf4cfab0570ce5aecc9a5e5dc9f541c499f9d7
Issue-ID: DCAEGEN2-440
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions