|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.utils.RDBMCounterStore
PooledCounterStore instead
@Deprecated public class RDBMCounterStore
A reference implementation for the counter store
| Constructor Summary | |
|---|---|
RDBMCounterStore()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
createCounter(String counterName)
Deprecated. Creates a new counter with an initial value of 0. |
int |
getIncrementIntegerId(String counterName)
Deprecated. Gets the next number in the sequence. |
void |
setCounter(String counterName,
int value)
Deprecated. Sets the counter to the specified value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RDBMCounterStore()
| Method Detail |
|---|
public void createCounter(String counterName)
throws Exception
createCounter in interface ICounterStorecounterName - a name for the new counter
Exception - if an error occursICounterStore.createCounter(java.lang.String)
public void setCounter(String counterName,
int value)
throws Exception
setCounter in interface ICounterStorecounterName - a counter namevalue - a new counter value
Exception - if an error occursICounterStore.setCounter(java.lang.String, int)
public int getIncrementIntegerId(String counterName)
throws Exception
getIncrementIntegerId in interface ICounterStorecounterName - a String value
int value
Exception - if an error occursICounterStore.getIncrementIntegerId(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||