JwsContext.getMaxAge() Method

Gets the time representing the longest the conversation may remain active before finishing.

# Syntax

    public long getMaxAge()

# Parameters

None.

# Return Value

The number of seconds since a conversation started before which it will finish.

# Exceptions

IllegalStateException

Thrown if the method is called from a service instance that is not conversational.

# Remarks

None.

Related Topics

JwsContext.setMaxAge(Date) Method

JwsContext.setMaxAge(String) Method

Managing Conversation Lifetime