X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Flibmemcached.pod;h=cb5083d5af39934e9a58a8ea98fd6b0f77771750;hb=c16635ce9419f4c12230b63e6469f79842ea3638;hp=9a0626d190b5a3bab398f2dcbaeae2864693b41d;hpb=cfe8176feba42fc63e8f627f9ac613a12a368b92;p=m6w6%2Flibmemcached diff --git a/docs/libmemcached.pod b/docs/libmemcached.pod index 9a0626d1..cb5083d5 100755 --- a/docs/libmemcached.pod +++ b/docs/libmemcached.pod @@ -54,6 +54,37 @@ Some features of the library must be enabled through memcached_behavior_set(). Hope you enjoy it! +=head1 CONSTANTS + +A number of constants have been provided for in the library. + +=over 4 + +=item MEMCACHED_DEFAULT_PORT + +The default port used by memcached(3). + +=item MEMCACHED_MAX_KEY + +Default maximum size of a key (which includes the null pointer). Master keys +have no limit, this only applies to keys used for storage. + +=item MEMCACHED_MAX_KEY + +Default size of key (which includes the null pointer). + +=item MEMCACHED_STRIDE + +This is the "stride" used in the consistent hash used between replicas. + +=item MEMCACHED_MAX_HOST_LENGTH + +Maximum allowed size of the hostname. + +=back + + + =head1 THREADS AND PROCESSES When using threads or forked processes it is important to keep an instance