- TIBCO BusinessEvents®
- Standard
- Cluster
- Sequence

# 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

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

## Returns

Type | Description
--- | ---
`void` |

## Cautions

none