author | Pierre Mauduit <pierre.mauduit@camptocamp.com> | |
Mon, 30 Jan 2017 16:56:35 +0000 (17:56 +0100) | ||
committer | Pierre Mauduit <pierre.mauduit@camptocamp.com> | |
Mon, 30 Jan 2017 17:05:03 +0000 (18:05 +0100) | ||
commit | 8bef0ac26d7b9f4cca78f9fbc11f0e014fb03600 | |
tree | 19d7828711578e41689e9bb56291d24e59f023fc | tree | snapshot |
parent | 36c657e9864856a10c1dba2519a22ab73d68ce76 | commit | diff |
Java bindings - Adding Atomic* support
AtomicIntegers are used to address some concurrency problems in Java, and this
is advised by some metrics libraries like Netflix's servo:
https://github.com/Netflix/servo/wiki#jmx
Unfortunately, the GenericJMXConfValue.java class is not able to get the values
from such types, hence this PR.
I scanned the Java doc for the Java package:
https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/package-summary.html
I think I have not forgotten any types.
Tests: tested at runtime
AtomicIntegers are used to address some concurrency problems in Java, and this
is advised by some metrics libraries like Netflix's servo:
https://github.com/Netflix/servo/wiki#jmx
Unfortunately, the GenericJMXConfValue.java class is not able to get the values
from such types, hence this PR.
I scanned the Java doc for the Java package:
https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/package-summary.html
I think I have not forgotten any types.
Tests: tested at runtime
bindings/java/org/collectd/java/GenericJMXConfValue.java | diff | blob | history |