Automatic Charging Concepts

An automatic charge is made by Elastic Access for items currently in use in a session. The automatic charge is applied once per hour after the last successful access request. It is a way for the application to continue using items over an extended period without having to repeat requests to Elastic Access at precisely the right time.

Automatic charging for items ensures that there are enough tokens available to pay for use of an item before its use is continued.

If an automatic charge fails to find sufficient tokens for the items being used in the session, Elastic Access does the following:

Places the session in a TERMINATED state.
No longer accepts access requests for the session.
Responds to a heartbeat with an error.

The following two example scenarios illustrate the sequence of steps for automatic charging during sessions. In these examples, the automatic charging interval is displayed in minutes (each interval lasts one hour).

Scenario 1: Simple Repeated Automatic Charging
Scenario 2: Mid-session Charges