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
GenericJMX plugin: fix indentation/bracket error 1e2ad9c0 contained a mistake which resulted in the following build error. It seems to be a bad copy-paste when creating #1330 from the patch in #1291. ``` ./org/collectd/java/GenericJMXConfValue.java:535: error: variable tmp is already defined in constructor GenericJMXConfValue(OConfigItem) String tmp = getConfigString (child); ```
Merge remote-tracking branch 'github/pr/682'
{GPL, other}: Relicense to MIT license. This change relicenses all files where the sole owner(s) are Sebastian Harl and/or Florian Forster to the MIT license. This change happens according to prior agreement with Sebastian.
Allow `Attribute` to query an MBean operation MBeans provide two entities to the outside world: * Attributes * Operations The former is a simple key/value lookup, while the latter triggers a method call and yields the result. Operations have signatures, they can be fed an array of parameters. For now, calls are triggered assuming there are no parameters. Later a separate keyword `Operation` can be introduced, taking a list of `Parameter` directives specifying type and values to feed to the MBean operation.