Code example for AtomicLong

0
public class ParentHasMonitors extends ClassWithMonitors { 
 
    private final Counter c = Monitors.newCounter("myCounter"); 
 
    @com.netflix.servo.annotations.Monitor(name = "myGauge", type = GAUGE) 
    private final AtomicLong a1 = new AtomicLong(0L); 
}