All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.counter.api.Handle Maven / Gradle / Ivy

There is a newer version: 15.1.0.Dev04
Show newest version
package org.infinispan.counter.api;

/**
 * As a return of {@link StrongCounter#addListener(CounterListener)}, it is used to un-register the {@link CounterListener}.
 *
 * @author Pedro Ruivo
 * @since 9.0
 */
public interface Handle {

   /**
    * @return the {@link CounterListener} managed by this.
    */
   T getCounterListener();

   /**
    * Removes the {@link CounterListener}.
    */
   void remove();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy