Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
|
...
When a threshold is defined, this property determines which entry should be removed after the threshold is reached. The figure below shows all the available criteriaoptions.
Note |
---|
This property appears only when the property Cache threshold is greater than 0. |
...
Add operation
Send the input shown in Figure 8 the figure below from Feeder AddUpdateLookupRequest to add the following entries to lookup table.
...
The output message contains all the entries that are added as shown in Figure 9the figure below.
Figure 10: Result of the Add operation
Update operation
Send the input shown in Figure 10 the figure below from Feeder AddUpdateLookupRequest to update the name field for the entry with key field ssn whose value is ssn1234.
...
The output message contains the updated entry as shown in Figure 11.
Figure 12: Result of the Update operation
...
Note |
---|
Since both key fields ssn and emp_id are defined under single CacheEntry element in the input of add operation shown in Figure 89, updating a data field value for entry corresponding to ssn key field implicitly updates the entry for emp_id key field as well. In general, all the key fields defined under single CacheEntry maintain same reference to data fields and updating one effects the other. If this is not the desired behavior, modify the input to contain to CacheEntry elements one for each key field as shown in Figure 12 .
|
Lookup operation
Send the input shown in Figure 13 the figure below from Feeder AddUpdateLookupRequest to lookup the name and age fields for the entry with key field ssn whose value is ssn1234.
...