The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

FusionInventory::Agent::Expiration - Expiration functions

DESCRIPTION

This module provides some time-out related functions.

FUNCTIONS

setExpiration(%params) Set current expiration time from now if a timeout param is found in provided hash or from expiration param and then return true, otherwise, undefine current expiration and return false.

getExpiration()

Get current expiration time, to be compared to time returned value.