void createSequence(String sequenceName, long start, long end, int cacheSize, boolean useDB)
void createSequence(String sequenceName, long start, long end, int cacheSize, boolean useDB)
Name | Type | Description |
---|---|---|
sequenceName | String | A unique key |
start | long | The starting point for the sequence |
end | long | The end point for the sequence |
cacheSize | int | The number of entries that will be cached by local instance |
useDB | boolean | true if the database should be used to persist the sequence. This flag is only valid for cache aside |