Cluster.Sequence

Description

Functions to operate on Sequence across the cluster

Functions

NameSignature and Synopsis
createSequencevoid createSequence(String sequenceName, long start, long end, int cacheSize, boolean useDB)
Creates a sequence across the cluster. If the sequence already exists, the call is ignored internally.
nextSequenceLong nextSequence(String sequenceName)
Returns the next sequence number
removeSequencevoid removeSequence(String sequenceName)
Removes a sequence across the cluster
resetSequencevoid resetSequence(String sequenceName, long start)
Resets a sequence across the cluster