@Retention(value=RUNTIME) @Target(value={FIELD,METHOD}) public @interface Probe
MetricsRegistry.scanAndRegister(Object, String) is called.
 The MetricsRegistry will automatically scan all interfaces and super classes of an object (recursively). So it is possible
 to define a Probe on e.g. an interface or abstract class.
 Field
 provides access to the actual field without the need for autoboxing. With the Method a wrapper
 object is created when a primitive is returned by the method. Therefor fields produce less garbage than methods.
 A Probe can be placed on field or methods with the following (return) type:
 AtomicIntegerAtomicLongCounterByteShortIntegerFloatDoubleCollection: it will return the sizeMap: it will return the sizeSemaphore: it will return the number of available permits| Modifier and Type | Optional Element and Description | 
|---|---|
| ProbeLevel | levelReturns the ProbeLevel. | 
| String | nameThe name of the Probe. | 
public abstract String name
public abstract ProbeLevel level
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.