6) TTL Counters for for Fraud Prevention using Account Financial Transactions.

This Blog entry is from the Getting Started in Jube section in Learn Jube.

Time to Live Counters are an alternative way to create model memory without needing to store the full transaction data in the Cache. TTL Counters are incremented as the result of an Activation Rule matching and are set to live for only a prescribed amount of time upon having been created. TTL Counters allow for a condition only counter, storing a lightweight counter entry and not the entire transaction picture. It follows that the storage of TTL Counters is substantially less than maintaining the cache.

Upon a TTL Counter Definition having been created it will be available in the Activation Rules page such that it can be incremented as a consequence of an Activation Rule matching.

The page is available by navigating through the menu as Entity Models >>> Abstraction and Fitting >>> TTL Counters. The page is presented as a tree objects for the purposes of administering a model child objects:

1.PNG

Click on the model tree entry towards the left hand side to add a new TTL Counter:

2.PNG

The fields available to this form are described in the following table:

Name

Description

This Example

TTL Counter Interval Type

The amount of time before the TTL Counter is to be decremented upon a counter entry having been created and incrementing the counter. The TTL Counter Interval Type is taken together with the TTL Counter Interval Value.

d

TTL Counter Interval Value

The amount of time before the TTL Counter is to be decremented upon a counter entry having been created and incrementing the counter. The TTL Counter Interval Type is taken together with the TTL Counter Interval Value.

1

Complete the page fields as set forth in the table above:

3.PNG

Click the add button to create a version of this TTL Counter:

4.PNG

Allow the platform a couple of moments to synchronise the configuration.

Mindful that a TTL Counter must be incremented by an Actvation Rule match, hence when recalled at this time would return zero, proceed to post the Account Financial Transaction XML:

5.PNG

It can be seen that TTL Counters are being recalled and aggregated and are available for subsequent rule processing.