Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cache::basecachetester(3pm) [debian man page]

Cache::BaseCacheTester(3pm)				User Contributed Perl Documentation			       Cache::BaseCacheTester(3pm)

NAME
Cache::BaseCacheTester -- abstract cache tester base class DESCRIPTION
BaseCacheTester provides functionality common to all instances of a class that will test cache implementations. SYNOPSIS
BaseCacheTester provides functionality common to all instances of a class that will test cache implementations. package Cache::MyCacheTester; use vars qw( @ISA ); use Cache::BaseCacheTester; @ISA = qw( Cache::BaseCacheTester ); METHODS
new( $base_test_count ) Construct a new BaseCacheTester and initialize the test count to $base_test_count. ok( ) Print a message to stdout in the form "ok $test_count" and incremements the test count. not_ok( $message ) Print a message to stdout in the form "not ok $test_count # $message " and incremements the test count. skip( $message ) Print a message to stdout in the form "ok $test_count # skipped $message " and incremements the test count. SEE ALSO
Cache::CacheTester, Cache::SizeAwareCacheTester AUTHOR
Original author: DeWitt Clinton <dewitt@unto.net> Last author: $Author: dclinton $ Copyright (C) 2001-2003 DeWitt Clinton perl v5.12.4 2009-03-01 Cache::BaseCacheTester(3pm)

Check Out this Related Man Page

Cache::SharedMemoryCache(3pm)				User Contributed Perl Documentation			     Cache::SharedMemoryCache(3pm)

NAME
Cache::SharedMemoryCache -- extends the MemoryCache. DESCRIPTION
The SharedMemoryCache extends the MemoryCache class and binds the data store to shared memory so that separate process can use the same cache. The official recommendation is now to use FileCache instead of SharedMemoryCache. The reasons for this include: 1) FileCache provides equal or better performance in all cases that we've been able to test. This is due to all modern OS's ability to buffer and cache file system accesses very well. 2) FileCache has no real limits on cached object size or the number of cached objects, whereas the SharedMemoryCache has limits, and rather low ones at that. 3) FileCache works well on every OS, whereas the SharedMemoryCache works only on systems that support IPC::ShareLite. And IPC::ShareLite is an impressive effort -- but think about how hard it is to get shared memory working properly on *one* system. Now imagine writing a wrapper around shared memory for many operating systems. SYNOPSIS
use Cache::SharedMemoryCache; my %cache_options_= ( 'namespace' => 'MyNamespace', 'default_expires_in' => 600 ); my $shared_memory_cache = new Cache::SharedMemoryCache( \%cache_options ) or croak( "Couldn't instantiate SharedMemoryCache" ); METHODS
See Cache::Cache for the API documentation. OPTIONS
See Cache::Cache for the standard options. PROPERTIES
See Cache::Cache for the default properties. SEE ALSO
Cache::Cache, Cache::MemoryCache AUTHOR
Original author: DeWitt Clinton <dewitt@unto.net> Last author: $Author: dclinton $ Copyright (C) 2001-2003 DeWitt Clinton perl v5.12.4 2009-03-01 Cache::SharedMemoryCache(3pm)
Man Page

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to Print from matching word to end using awk

Team, Could some one help me in Printing from matching word to end using awk For ex: Input: I am tester for now I am tester yesterday I am tester tomorrow O/p tester for now tester yesterday tester tomorrow i.e Starting from tester till end of sentence (5 Replies)
Discussion started by: mallak
5 Replies

2. Shell Programming and Scripting

Ksh Searching for a string within a file and keeping a count= get the following Sample01=: command

I have a script that goes through a 24 hr logfile, And i want to count the instances of a Test01 to 83 and output the sum of all the instances over 24hrs #/bin/ksh cat $parse_data | awk '/'$time$i'/ {for(x=0; x<=16; x++) {getline; print}print "--" }' > _hr.txt for... (2 Replies)
Discussion started by: k00061804
2 Replies

3. Shell Programming and Scripting

unary operator expected, if condition test error.

Hi All, I'm assigning a numeric value to variable count=2, well its being assigned by code above the if condition. I want to test for 2 conditions , when $count = 0 or $count <=2 and do something when the condition matches. here is my code, but i run into the infamous : if ] then ... (2 Replies)
Discussion started by: Irishboy24
2 Replies