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

Class: Net_DNS2_Cache_File

Source Location: /Net_DNS2-1.4.0/Net/DNS2/Cache/File.php

Class Overview

Net_DNS2_Cache
   |
   --Net_DNS2_Cache_File

File-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]
File-based caching for the Net_DNS2_Cache class


[ Top ]


Method Detail

__destruct (Destructor)   [line 148]

void __destruct( )

Destructor
  • Access: public

[ Top ]

open   [line 77]

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, 15 Dec 2014 05:30:11 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.