avi.vs.table_refresh
DataScript
Function | avi.vs.table_refresh( [table_name,] key [, lifetime_exten] ) |
Description | Refreshes the lifetime of the entry for the key in the key/value store. |
Events | VS_DATASCRIPT_EVT_L4_REQUEST VS_DATASCRIPT_EVT_L4_RESPONSE |
Parameters | Looks up the key in the default virtual service table, unless another table name is specified via the optional table name. The key is used to search for the desired table entry. The optional lifetime_exten, a positive integer, is the value in seconds by which to extend the lifetime of the entry in the key/value store. When it is not specified, the default value of 300 seconds is used to extend the lifetime of the entry. The lifetime would now be set to lifetime_exten. |
Returns | Returns the boolean value true if the refresh is a success and false if the refresh a failure. |
Example |
|