KiokuDB::Linker(3pm) User Contributed Perl Documentation KiokuDB::Linker(3pm)NAME
KiokuDB::Linker - Relinks live objects from storage entries
SYNOPSIS
# mostly internal
DESCRIPTION
The linker reconnects entry data, recreating the connected object graph in memory.
The linkage process starts with an ID (or several IDs) to be loaded passed to the "get_or_load_objects" method.
This ID will first be searched for in the live object set (KiokuDB::LiveObjects). If the object is already live, then it will be returned
as is.
If the object is not live, then the corresponding entry is fetched from the backend, and expanded into an actual instance.
Expansion consults the KiokuDB::TypeMap using KiokuDB::TypeMap::Resolver, to find the correct typemap entry (see "COLLAPSING STRATEGIES" in
KiokuDB::Collapser and KiokuDB::TypeMap), and that is used for the actual expansion.
Most of the grunt work is delegated by the entries back to the linker using the "inflate_data" method, which handles circular structures,
retrying of tied structures, etc.
Inflated objects are registered with KiokuDB::LiveObjects, and get inserted into the current live object scope
(KiokuDB::LiveObjects::Scope). The scope's job is to maintain a reference count of at least 1 for any loaded object, until it is destroyed
itself. This ensures that weak references are not destroyed prematurely, but allows their use in order to avoid memory leaks.
perl v5.12.4 2010-10-11 KiokuDB::Linker(3pm)
Check Out this Related Man Page
KiokuDB::TypeMap::Entry::Compiled(3pm) User Contributed Perl Documentation KiokuDB::TypeMap::Entry::Compiled(3pm)NAME
KiokuDB::TypeMap::Entry::Compiled - Object for storing collapse/expand methods
SYNOPSIS
TODO
DESCRIPTION
Objects of this class should be returned by "compile" in KiokuDB::TypeMap::Entry. You probably shouldn't be using this directly; you may
just want to consume KiokuDB::TypeMap::Entry::Std or something.
ATTRIBUTES
expand_method
Contains a subroutine reference (or a string, denoting a method name). It is called as method on the KiokuDB::Linker. Takes a
KiokuDB::Entry as an argument, and should return the expanded object.
collapse_method
Contains a subroutine reference (or a string, denoting a method name). It is called as method on the KiokuDB::Collapser. Takes the
object to be collapsed as an argument, and should return a KiokuDB::Reference.
id_method
Contains a subroutine reference (or a string, denoting a method name). It is called as method on the KiokuDB::Collapser. Takes the
object to be collapsed as an argument, and should return an ID for it .
refresh_method
Contains a subroutine reference (or a string, denoting a method name). It is called as method on the KiokuDB::Linker. Takes the
object to be refreshed and its corresponding KiokuDB::Entry as arguments.
class
The class for which the methods are being compiled.
entry
The KiokuDB::TypeMap::Entry that created this object.
perl v5.12.4 2010-10-18 KiokuDB::TypeMap::Entry::Compiled(3pm)
Ok, so say I boot off a live Knoppix CD. Is there any way I could access the harddrive (and files on it) from the live CD? Is it complicated?
Thanks alot,
John (3 Replies)
using SUN C++ I have a problem when I do a push_back on a vector. The linker gives me a undefined symbol error on __cxa_end_catch.
Any ideas, is there a library to include?
Thanks
Chris (1 Reply)
Guys,
We have taken a copy of our live filesystem to use for testing, but they want to be sure that no contact can be made to any of the live servers etc, I told them the best way would be to have this handled at the firewall level etc, but it seems that not possible, so.... would it be... (9 Replies)
Does enybody know where I could get instructions how to make Linux live cd?
I want to make my own so if you guys know anything just lemme know...
thanks a lot... ;) (3 Replies)
Hi All,
I m new to this group.
I m facing one problem during my linking of CPP code at Linux env.
after compliation i m getting error
"undefined reference to ....."
Please anyone help me to resolve this error.
Regards,
ASR
make: Leaving directory /fwk'
echo g++ -o server ... (1 Reply)
Hi guys,
Is it correct to say that a website's category is for example web1.0?
or
Is it correct to say that we live in for example web2.0 Internet technology period? (5 Replies)
Hi Folks,
Currently we are having the below configuration in one of our AIX 6.1 server.
RAM:- 8 GB
Paging space :- 19 GB
CPU processor:- 1
CPU type: 64 bit
But we would like to upgrade the configuration to below to improve the system performance and resolve some memory issues.
... (11 Replies)
Basically my problem is that when I try to compile anything using ./configure && make, it fails because of linker errors. I can reproduce the behavior I'm getting as follows:
I have the two following files
main.c:
#include <stdio.h>
extern void func(void);
int
main(int argc, char... (5 Replies)