com.liferay.counter.service.persistence.impl
Class MultiDataCenterCounterFinderImpl
java.lang.Object
com.liferay.portal.service.persistence.impl.BasePersistenceImpl<Dummy>
com.liferay.counter.service.persistence.impl.CounterFinderImpl
com.liferay.counter.service.persistence.impl.MultiDataCenterCounterFinderImpl
- All Implemented Interfaces:
- CounterFinder, CacheRegistryItem, SessionFactory, BasePersistence<Dummy>
public class MultiDataCenterCounterFinderImpl
- extends CounterFinderImpl
| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, 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 |
| Methods inherited from class com.liferay.counter.service.persistence.impl.CounterFinderImpl |
createCounterRegister, createCounterRegister, getConnection, getCounterRegister, getNames, getRangeSize, getRegistryName, increment, increment, invalidate, rename, reset, reset |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
appendOrderByComparator, appendOrderByComparator, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, getTableColumnsMap, openNewSession, openSession, processException, registerListener, remove, remove, removeConjunction, removeImpl, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl, updateImpl |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiDataCenterCounterFinderImpl
public MultiDataCenterCounterFinderImpl(int dataCenterCount,
int dataCenterDeploymentId)
increment
public long increment(String name,
int size)
- Specified by:
increment in interface CounterFinder- Overrides:
increment in class CounterFinderImpl
getBits
protected static int getBits(int value)
getMultiClusterSafeValue
protected long getMultiClusterSafeValue(long value)