Class ActiveObjectCounter<T>
java.lang.Object
org.springframework.amqp.rabbit.support.ActiveObjectCounter<T>
- Type Parameters:
T
- the object type.
A mechanism to keep track of active objects.
- Author:
- Dave Syer, Artem Bilan
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ActiveObjectCounter
public ActiveObjectCounter()
-
-
Method Details
-
add
-
release
-
await
- Throws:
InterruptedException
-
getCount
public int getCount() -
reset
public void reset() -
deactivate
public void deactivate() -
isActive
public boolean isActive()
-