Cluster.Sequence.createSequence()

Signature

void createSequence(String sequenceName, long start, long end, int cacheSize, boolean useDB)

Domain

action, query

Parameters

NameTypeDescription
sequenceNameStringA unique key
startlongThe starting point for the sequence
endlongThe end point for the sequence
cacheSizeintThe number of entries that will be cached by local instance
useDBbooleantrue if the database should be used to persist the sequence. This flag is only valid for cache aside

Returns

None.

Cautions

none