Cluster.Sequence.createSequence()

Signature

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

Domain

ACTION, QUERY

Description

Creates a sequence across the cluster. If the sequence already exists, the call is ignored internally.

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

TypeDescription
void

Cautions

none