touch


Description:

public StatusResponse touch (void* command_cookie = null, TouchCommand*[] commands)

Touch (set expiration time) on a number of values in the cache.

Values larger than 30*24*60*60 seconds (30 days) are interpreted as absolute times (from the epoch). All other members should be set to zero.

Example:

	TouchCommand tc = TouchCommand() {
key = "my-key",
exptime = 0x666
};
TouchCommand*[] commands = { &tc };
instance.touch( null, commands );

Parameters:

command_cookie

A cookie passed to all of the notifications from this command

commands

the array containing the items to touch

Returns:

The status of the operation




2022 vala-language.org