- TIBCO BusinessEvents®
- ActiveSpaces(Deprecated)
- Metaspace
- Space
- Options

# Metaspace.Space.Options.setTTL()

## Signature

`Object setTTL (Object options, long ttl)`

## Domain

ACTION

## Description

Specify the time to live for entries stored into a space using this PutOptions object. WAIT_FOREVER means that an entry will never expire.

## Parameters

Name | Type | Description
--- | --- | ---
`options` | `Object` | The PutOptions object
`ttl` | `long` | Time in milliseconds to use as an entry's time to live.

## Returns

Type | Description
--- | ---
`Object` | Time in milliseconds to use as an entry's time to live.

## Cautions

none