GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DBM::DEEP::STORAGE (3)

.ds Aq ’

NAME

DBM::Deep::Storage - abstract base class for storage

flush()

This flushes the filehandle. This takes no parameters and returns nothing.

is_writable()

This takes no parameters. It returns a boolean saying if this filehandle is writable.

Taken from <http://www.perlmonks.org/?node_id=691054/>.

CONTENTS

LOCKING

This is where the actual locking of the storage medium is performed. Nested locking is supported.

<B>NOTEB>: It is unclear what will happen if a read lock is taken, then a write lock is taken as a nested lock, then the write lock is released.

Currently, the only locking method supported is flock(1). This is a whole-file lock. In the future, more granular locking may be supported. The API for that is unclear right now.

The following methods manage the locking status. In all cases, they take a DBM::Deep object and returns nothing.
o lock_exclusive( $obj )

Take a lock usable for writing.

o lock_shared( $obj )

Take a lock usable for reading.

o unlock( $obj )

Releases the last lock taken. If this is the outermost lock, then the object is actually unlocked.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 DBM::DEEP::STORAGE (3) 2014-01-13

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.