Liferay 7.0-ce-b4

com.liferay.counter.service.persistence.impl
Class MultiDataCenterCounterFinderImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<Dummy>
      extended by com.liferay.counter.service.persistence.impl.CounterFinderImpl
          extended by com.liferay.counter.service.persistence.impl.MultiDataCenterCounterFinderImpl
All Implemented Interfaces:
CounterFinder, CacheRegistryItem, SessionFactory, BasePersistence<Dummy>

public class MultiDataCenterCounterFinderImpl
extends CounterFinderImpl


Field Summary
 
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
 
Constructor Summary
MultiDataCenterCounterFinderImpl(int dataCenterCount, int dataCenterDeploymentId)
           
 
Method Summary
protected static int getBits(int value)
           
protected  long getMultiClusterSafeValue(long value)
           
 long increment(String name, int size)
           
 
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
 

Constructor Detail

MultiDataCenterCounterFinderImpl

public MultiDataCenterCounterFinderImpl(int dataCenterCount,
                                        int dataCenterDeploymentId)
Method Detail

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)

Liferay 7.0-ce-b4