Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.axis2.util
Class Counter

    java.lang.Object
      org.apache.axis2.util.Counter

    public class Counter

extends java.lang.Object

This class provides a simple zero-based counter with synchronized access.

Constructor Summary
`Counter()`

Method Summary
`long` | `decrementAndGet()`
`long` | `get()`
`long` | `incrementAndGet()`
`void` | `reset()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Counter

    public Counter()

Method Detail

### incrementAndGet

    public long incrementAndGet()

### decrementAndGet

    public long decrementAndGet()

### reset

    public void reset()

### get

    public long get()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.