public class MultiDataCenterCounterFinderImpl extends CounterFinderImpl
Constructor and Description |
---|
MultiDataCenterCounterFinderImpl(int dataCenterCount,
int dataCenterDeploymentId) |
Modifier and Type | Method and Description |
---|---|
protected static int |
getBits(int value) |
protected long |
getMultiClusterSafeValue(long value) |
long |
increment(String name,
int size) |
closeSession, createCounterRegister, createCounterRegister, getConnection, getCounterRegister, getNames, getRangeSize, getRegistryName, increment, increment, invalidate, openSession, processException, rename, reset, reset, setDataSource, setSessionFactory
public MultiDataCenterCounterFinderImpl(int dataCenterCount, int dataCenterDeploymentId)
public long increment(String name, int size)
increment
in interface com.liferay.counter.kernel.service.persistence.CounterFinder
increment
in class CounterFinderImpl
protected static int getBits(int value)
protected long getMultiClusterSafeValue(long value)