The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

IO::Iron::IronCache::Item - IronCache (Online Item-Value Storage) Client (Cache Item).

VERSION

version 0.14

SYNOPSIS

Please see IO::Iron::IronCache::Client for usage.

REQUIREMENTS

SUBROUTINES/METHODS

new

Creator function.

Getters/setters

Set or get a property. When setting, returns the reference to the object.

value Item value (free text), can be empty.
expires_in How long in seconds to keep the item in the cache before it is deleted.
expires Time of expiration as a timestamp.
replace Only set the item if the item is already in the cache.
add Only set the item if the item is not already in the cache.
cas Cas value can only be set when the item is read from the cache.

AUTHOR

Mikko Koivunalho <mikko.koivunalho@iki.fi>

BUGS

Please report any bugs or feature requests to bug-io-iron@rt.cpan.org or through the web interface at: http://rt.cpan.org/Public/Dist/Display.html?Name=IO-Iron

COPYRIGHT AND LICENSE

This software is copyright (c) 2023 by Mikko Koivunalho.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

The full text of the license can be found in the LICENSE file included with this distribution.