Package org.infinispan.counter.api
Interface Handle<T extends CounterListener>
public interface Handle<T extends CounterListener>
As a return of
StrongCounter.addListener(CounterListener)
, it is used to un-register the CounterListener
.- Since:
- 9.0
- Author:
- Pedro Ruivo
-
Method Summary
-
Method Details
-
getCounterListener
T getCounterListener()- Returns:
- the
CounterListener
managed by this.
-
remove
void remove()Removes theCounterListener
.
-