Package org.infinispan.counter.api
Interface Handle<T extends CounterListener>
-
public interface Handle<T extends CounterListener>As a return ofStrongCounter.addListener(CounterListener), it is used to un-register theCounterListener.- Since:
- 9.0
- Author:
- Pedro Ruivo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TgetCounterListener()voidremove()Removes theCounterListener.
-
-
-
Method Detail
-
getCounterListener
T getCounterListener()
- Returns:
- the
CounterListenermanaged by this.
-
remove
void remove()
Removes theCounterListener.
-
-