public void increment ( String name , int value ) { Counter counter = get ( name , CounterType . Increment ) ; counter . setCount ( counter . getCount ( ) != null ? counter . getCount ( ) + value : value ) ; update ( ) ; }
Increments counter by given value .