Net_DNS2
[ class tree: Net_DNS2 ] [ index: Net_DNS2 ] [ all elements ]

Class: Net_DNS2_Cache_Shm

Source Location: /Net_DNS2-1.4.1/Net/DNS2/Cache/Shm.php

Class Overview

Net_DNS2_Cache
   |
   --Net_DNS2_Cache_Shm

Shared Memory-based caching for the Net_DNS2_Cache class


Author(s):

Methods


Inherited Variables

Inherited Methods

Class: Net_DNS2_Cache

Net_DNS2_Cache::clean()
runs a clean up process on the cache data
Net_DNS2_Cache::get()
returns the value for the given key
Net_DNS2_Cache::has()
returns true/false if the provided key is defined in the cache
Net_DNS2_Cache::put()
adds a new key/value pair to the cache
Net_DNS2_Cache::resize()
runs a clean up process on the cache data

Class Details

[line 63]
Shared Memory-based caching for the Net_DNS2_Cache class


[ Top ]


Method Detail

__destruct (Destructor)   [line 175]

void __destruct( )

Destructor
  • Access: public

[ Top ]

open   [line 87]

void open( string $cache_file, integer $size, string $serializer)

open a cache object
  • Throws: Net_DNS2_Exception
  • Access: public

Parameters:

string   $cache_file   —  path to a file to use for cache storage
integer   $size   —  the size of the shared memory segment to create
string   $serializer   —  the name of the cache serialize to use

[ Top ]


Documentation generated on Mon, 11 Mar 2019 16:01:46 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.