public class MultiDataCenterCounterFinderImpl extends CounterFinderImpl
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
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) |
createCounterRegister, createCounterRegister, getConnection, getCounterRegister, getNames, getRangeSize, getRegistryName, increment, increment, invalidate, rename, reset, reset
appendOrderByComparator, appendOrderByComparator, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, getTableColumnsMap, openNewSession, openSession, processException, registerListener, remove, remove, removeConjunction, removeImpl, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, updateImpl
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)