Dicop::DataDicop::Data is a base class of a Dicop::Server, contains all data and methods. | |
Download |
Dicop::Data Ranking & Summary
Advertisement
- License:
- GPL
- Price:
- FREE
- Publisher Name:
- Bundesamt fr Sicherheit in der Informationstechnik
- Publisher web site:
- http://search.cpan.org/~bsi/Dicop-Server-3.04/lib/Dicop/Data.pm
Dicop::Data Tags
Dicop::Data Description
Dicop::Data is a base class of a Dicop::Server, contains all data and methods. Dicop::Data is a base class of a Dicop::Server, contains all data and methods.SYNOPSIS use Dicop::Data; $data = Dicop::Data->new(); $job = $data->get_job(5); # return the job object #5 $job->get_chunk(3); # get the chunk w/ id 3 from this jobSee dicopd and dicopp on how to use this.Upon creating such an object, the server locks a file and reads it's data into memory. Upon destroying the object, the lock is released and possible changes are written back to the disk. From time to time the modified data is written back to the disk.For each client-connect an extra file is locked to prevent from multiply client-connects to interfere with each other. This lock is released after the response was sent to the client.All the data is read immidiately, but only written back if changed or a certain time period has passed. Requirements: · Perl
Dicop::Data Related Software