How to reset entry TTL for tuples.

How to reset entry TTL for tuples.

book

Article ID: KB0085629

calendar_today

Updated On:

Products Versions
TIBCO ActiveSpaces -
Not Applicable -

Description

Description:
How to reset entry TTL for tuples.

Issue/Introduction

How to reset entry TTL for tuples.

Resolution

TTL will be reset on Put operations. To reset TTL to only perform a get and execute compareAndPut:

Tuple tuple = space.get(keytuple);
space.compareAndPut(tuple, tuple);

Note: Get operations will not reset the TTL.