Scroll to navigation

Pithub::Result::SharedCache(3pm) User Contributed Perl Documentation Pithub::Result::SharedCache(3pm)

NAME

Pithub::Result::SharedCache - A role to share the LRU cache with all Pithub objects

VERSION

version 0.01039

DESCRIPTION

A role to share the least recently used cache with all Pithub objects.

METHODS

shared_cache

Returns the CHI object shared by all Pithub objects.

set_shared_cache

Sets the CHI object shared by all Pithub objects.

This should only be necessary for testing or to change the size of the cache.

AUTHOR

Johannes Plunien <plu@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Johannes Plunien.

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

2022-08-12 perl v5.34.0