|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICounterStore
A store interface that keeps track of multiple unique ID counters.
| Method Summary | |
|---|---|
void |
createCounter(String counterName)
Create a new coutner |
int |
getIncrementIntegerId(String counterName)
Obtain current coutner value and increment it. |
void |
setCounter(String counterName,
int value)
Reset a value of a counter. |
| Method Detail |
|---|
void createCounter(String counterName)
throws Exception
counterName - a name for the new counter
Exception - if an error occurs
void setCounter(String counterName,
int value)
throws Exception
counterName - a counter namevalue - a new counter value
Exception - if an error occurs
int getIncrementIntegerId(String counterName)
throws Exception
counterName - a String value
int value
Exception - if an error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||