public class CounterRegister
extends Object
Constructor and Description |
---|
CounterRegister(String name,
CounterHolder counterHolder,
int rangeSize) |
CounterRegister(String name,
long rangeMin,
long rangeMax,
int rangeSize) |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.concurrent.CompeteLatch |
getCompeteLatch() |
CounterHolder |
getCounterHolder() |
String |
getName() |
int |
getRangeSize() |
void |
setCounterHolder(CounterHolder holder) |
void |
setName(String name) |
public CounterRegister(String name, CounterHolder counterHolder, int rangeSize)
public CounterRegister(String name, long rangeMin, long rangeMax, int rangeSize)
public com.liferay.portal.kernel.concurrent.CompeteLatch getCompeteLatch()
public CounterHolder getCounterHolder()
public String getName()
public int getRangeSize()
public void setCounterHolder(CounterHolder holder)
public void setName(String name)