|
uPortal 2.3.2 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.utils.RDBMCounterStore
A reference implementation for the counter store
Constructor Summary | |
RDBMCounterStore()
|
Method Summary | |
void |
createCounter(java.lang.String counterName)
Create a new coutner |
int |
getIncrementIntegerId(java.lang.String counterName)
Obtain current coutner value and increment it. |
void |
setCounter(java.lang.String counterName,
int value)
Reset a value of a counter. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RDBMCounterStore()
Method Detail |
public void createCounter(java.lang.String counterName) throws java.lang.Exception
ICounterStore
createCounter
in interface ICounterStore
counterName
- a name for the new counter
java.lang.Exception
- if an error occurspublic void setCounter(java.lang.String counterName, int value) throws java.lang.Exception
ICounterStore
setCounter
in interface ICounterStore
counterName
- a counter namevalue
- a new counter value
java.lang.Exception
- if an error occurspublic int getIncrementIntegerId(java.lang.String counterName) throws java.lang.Exception
ICounterStore
getIncrementIntegerId
in interface ICounterStore
counterName
- a String
value
int
value
java.lang.Exception
- if an error occurs
|
uPortal 2.3.2 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |