org.jctools.counters.Counter Maven / Gradle / Ivy
package org.jctools.counters;
/**
* Base counter interface.
*
* @author Tolstopyatov Vsevolod
*/
public interface Counter {
void inc();
void inc(long delta);
long get();
long getAndReset();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy