POE::Resource(3pm) User Contributed Perl Documentation POE::Resource(3pm)NAME
POE::Resource - internal resource managers for POE::Kernel
SYNOPSIS
Varies, although most POE::Resource subclasses do not have public APIs.
DESCRIPTION
POE manages several types of information internally. Its Resource classes are mix-ins designed to manage those types of information behind
tidy, mostly private interfaces. This was done to facilitate testing and a conversion to C without the need to port POE::Kernel all at
once.
POE::Resource subclasses are generally different from one another, but there are some similarities to note.
Every resource should have an initializer and finalizer method. Initializers set up initial data and link resources into POE::Kernel.
Finalizers clean up any remaining data and verify that each resource subsystem was left in a consistent state.
One common theme in resource implementations is that they don't need to perform much error checking, if any. Resource methods are used
internally by POE::Kernel and/or POE::API classes, so it's up to them to ensure correct usage.
Resource methods follow the naming convention _data_???_activity, where ??? is an abbreviation for the type of resource it belongs to:
POE::Resource::Events _data_ev_initialize
POE::Resource::FileHandles _data_handle_initialize
POE::Resource::Signals _data_sig_initialize
Finalizer methods end in "_finalize".
_data_ev_finalize
_data_handle_finalize
_data_sig_finalize
Finalizers return true if a resource shut down cleanly, or false if there were inconsistencies or leaks during end-of-run checking. The
t/res/*.t tests rely on these return values.
SEE ALSO
POE::Resource::Aliases, POE::Resource::Events, POE::Resource::Extrefs, POE::Resource::FileHandles, POE::Resource::SIDs,
POE::Resource::Sessions, POE::Resource::Signals
Also see "Resources" in POE::Kernel for for public information about POE resources.
BUGS
None known.
AUTHORS & LICENSING
Please see POE for more information about its authors, contributors, and licensing.
perl v5.14.2 2012-05-15 POE::Resource(3pm)
Check Out this Related Man Page
POE::Resources(3pm) User Contributed Perl Documentation POE::Resources(3pm)NAME
POE::Resources - loader of POE resources
SYNOPSIS
# Intended for internal use by POE::Kernel.
use POE::Resources;
POE::Resources->load();
DESCRIPTION
POE::Kernel is internally split into different resources that are separately managed by individual mix-in classes.
POE::Resources is designed as a high-level macro manager for POE::Resource classes. Currently it implements a single method, load(), which
loads all the POE::Resource classes.
METHODS
POE::Resources has a public interface, but it is intended to be used internally by POE::Kernel. Application programmers should never need
to use POE::Resources directly.
load
POE::Kernel calls load() to loads all the known POE::Resource modules.
Each resource may be handled by a pure perl module, or by an XS module. For each resource class, load() first tries to load the
"POE::XS::Resource::..." version of the module. If that fails, load() falls back to "POE::Resource::...".
SEE ALSO
See "Resources" in POE::Kernel for for public information about POE resources.
See POE::Resource for general discussion about resources and the classes that manage them.
AUTHORS & LICENSING
Please see POE for more information about its authors, contributors, and POE's licensing.
perl v5.14.2 2012-05-15 POE::Resources(3pm)
We have PPE/POE problems on a 32 PE p690 system. After upgrading to the latest AIX 5.2 (ML 05) POE/PPE environment on a p690, we've noticed that mpi jobs could not start. I've trace the problem in the communication of poe client routines and the pmdv4 (/etc/pmdv4) partition
manager on our... (0 Replies)
I've always been accustomed to setting certain kernel parameters in the /etc/system file. However, with Solaris 10, they have created the resource control utility to set these values.
I've set the value for project.max-shm-memory to 4gb with the following command:
prctl -n... (2 Replies)
Hi all,
I am a newbie to AIX. Can any one give me any idea of resource manager in AIX. How can i use it to schedule jobs at appropriate times. Any pointers to tutorials will b of great help. (4 Replies)
Hi There,
I'm trying to find a way to gather resource usage information (CPU, Memory & Virtual Memory) for a single process in a scripted way.
I've looked at vmstat & top but I can't figure out how to use them to get the information for a single process.
can any one help with this?
... (2 Replies)
Hi all...........
Please, Anyone Tell me About How to Optimize Unix/Linux Resources to the Best use of them???????
And also specify if there is some tools for it.
Thanks in Advance...
Regards
Kuldeep (2 Replies)
Hi,
I have a requirement to monitor the HACMP Resource Groups. At present in my environment, if the Resource Groups fail over from preferred node to Secondary node we dont get notification.
Can some one help me in creating a scrript. I have more than one RG online. (Max 4 Resource Groups in... (2 Replies)
Hi All,
I am going to perform some activity in 2Node HA Server(Active/Passive).
For that i have to do some pre-requsite (ie., Resource Group VG's should be Enhanced-Concurrent)
In my setup, we have two volume groups in one RG. In that one VG is Normal and another is Enhance Concurrent.
... (2 Replies)
Hi
I have created the zone cluster and its Resource group but while creating the resource I am getting the below error "clrs: (C779822) Resource type SUNW.HAStoragePlus is not registered" but HAStoragePlus Resource type is already register.
Please help me to get out of this situation.
... (4 Replies)
In HA platforms, there is the concept of a "Scalable Resource Type, which included the sharedaddress" that is used in commonly Web Servers resource groups. The sharedaddress resource type is provided so a developer can use this Resource type to build their own scalable resource group. I see... (1 Reply)