Public Member Functions | Private Attributes

FileSystemSegmentHandler Class Reference
[Root classes for building DAO hierarchies]

Inheritance diagram for FileSystemSegmentHandler:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 __construct ($segmentId)
 touch ($key)
 creates key in segment
 unlink ($key)
 deletes key from segment
 ping ($key)
 checks for a key existence in segment
 drop ()
 destroys segment

Private Attributes

 $path = null

Detailed Description

Definition at line 15 of file FileSystemSegmentHandler.class.php.


Constructor & Destructor Documentation

FileSystemSegmentHandler::__construct ( segmentId  ) 

Implements SegmentHandler.

Definition at line 19 of file FileSystemSegmentHandler.class.php.

References $path.


Member Function Documentation

FileSystemSegmentHandler::drop (  ) 

destroys segment

Implements SegmentHandler.

Definition at line 63 of file FileSystemSegmentHandler.class.php.

References FileUtils::removeDirectory().

Here is the call graph for this function:

FileSystemSegmentHandler::ping ( key  ) 

checks for a key existence in segment

Implements SegmentHandler.

Definition at line 58 of file FileSystemSegmentHandler.class.php.

FileSystemSegmentHandler::touch ( key  ) 

creates key in segment

Implements SegmentHandler.

Definition at line 36 of file FileSystemSegmentHandler.class.php.

References Assert::isUnreachable().

Here is the call graph for this function:

FileSystemSegmentHandler::unlink ( key  ) 

deletes key from segment

Implements SegmentHandler.

Definition at line 47 of file FileSystemSegmentHandler.class.php.

References Assert::isUnreachable().

Here is the call graph for this function:


Member Data Documentation

FileSystemSegmentHandler::$path = null [private]

Definition at line 17 of file FileSystemSegmentHandler.class.php.

Referenced by __construct().


The documentation for this class was generated from the following file: