aphyr/riemann-java-client — pull request #4 by eribeiro (2012-05-16 01:56:59+00:00)
Title: Getting rid of locking (synchronized) in UDP client

Look, as UDP is a connectionless protocol then, in its current layout, its class is imposing the burden of a lock (through synchronized keyword) without being a really stateful protocol. Therefore, I think you can get rid of those awful synchronized semantics while leveraging the performance a little bit further.

*** This is just a suggestion tough, so feel free to refuse this pull request.***

PS: the default return of UDPClient's isConnected() can be set to always return true.