blib/lib/Memcached/libmemcached/memcached_analyze.pm

filter: Statementstmt 100% 1 / 1 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 100% 1 / 1 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« blib/lib/Memcached/libmemcached/func_hash.pl ↑ Summary blib/lib/Memcached/libmemcached/memcached_auto.pm »
1 package Memcached::libmemcached::memcached_analyze;
2  
3 =head1 NAME
4  
5 memcached_analyze - Analyze server information
6  
7 =head1 LIBRARY
8  
9 C Client Library for memcached (libmemcached, -lmemcached)
10  
11 =head1 SYNOPSIS
12  
13 #include <memcached.h>
14  
15 memcached_analysis_st *
16 memcached_analyze (memcached_st *ptr,
17 memcached_stat_st *stat,
18 memcached_return_t *error);
19  
20 =head1 DESCRIPTION
21  
22 libmemcached(3) has the ability to query a memcached server (or collection
23 of servers) for their current state. Queries to find state return a
24 C<memcached_analysis_st> structure. You are responsible for freeing this structure.
25  
26 memcached_analyze() analyzes useful information based on the provided servers
27 and sets the result to the C<memcached_analysis_st> structure. The return value
28 must be freed by the calling application.
29  
30 A command line tool, memstat(1) with the option --analyze, is provided so that
31 you do not have to write an application to use this method.
32  
33 =head1 RETURN
34  
35 A pointer to the allocated C<memcached_analysis_st> structure on success and
36 a NULL pointer on failure. You may inspect the error detail by checking the
37 C<memcached_return_t> value.
38  
39 Any method returning a C<memcached_analysis_st> expects you to free the
40 memory allocated for it.
41  
42 =head1 HOME
43  
44 To find out more information please check:
45 L<https://launchpad.net/libmemcached>
46  
47 =head1 AUTHOR
48  
49 Toru Maesaka, E<lt>dev@torum.netE<gt>
50  
51 =head1 SEE ALSO
52  
53 memcached(1) libmemcached(3) memcached_strerror(3)
54  
55 =cut
56 1 1;
« blib/lib/Memcached/libmemcached/func_hash.pl ↑ Summary blib/lib/Memcached/libmemcached/memcached_auto.pm »