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); 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE