Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Cache::SizeAwareCacheTUserrContributed Perl DocuCache::SizeAwareCacheTester(3)

NAME
       Cache::SizeAwareCacheTester -- a	class for regression testing size
       aware caches

DESCRIPTION
       The SizeCacheTester is used to verify that a cache implementation
       honors its contract with	respect	to resizing capabilities

SYNOPSIS
	 use Cache::SizeAwareMemoryCache;
	 use Cache::SizeAwareCacheTester;

	 my $cache = new Cache::SizeAwareMemoryCache( );

	 my $cache_tester = new	Cache::SizeAwareCacheTester( 1 );

	 $cache_tester->test( $cache );

METHODS
       new( $initial_count )
	   Construct a new SizeAwareCacheTester	object,	with the counter
	   starting at $initial_count.

       test( )
	   Run the tests.

SEE ALSO
       Cache::Cache, Cache::BaseCacheTester, Cache::CacheTester

AUTHOR
       Original	author:	DeWitt Clinton <dewitt@unto.net>

       Last author:	$Author: dclinton $

       Copyright (C) 2001-2003 DeWitt Clinton

perl v5.32.0			  2015-01-22	Cache::SizeAwareCacheTester(3)

NAME | DESCRIPTION | SYNOPSIS | METHODS | SEE ALSO | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Cache::SizeAwareCacheTester&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help