#include <PhaseManager_i.h>
List of all members.
Public Member Functions |
| PhaseManager_i (CORBA::ORB_var orb) |
| creates PhaseManager_i object
|
virtual | ~PhaseManager_i () |
| delete implementation object
|
virtual CORBA::Short | getGracePeriod () |
| returns current grace period in seconds
|
virtual void | setGracePeriod (CORBA::Short sec) |
| sets grace period in seconds
|
virtual void | add (phases::dPhase_ptr dpv, CORBA::Long pid, const common::ClientData &cd) |
virtual CORBA::Short | getNphase () |
| returns number of active phases
|
virtual
phases::PhaseManager::StatSeq * | getStatus () |
| returns sequence of PhaseStatus objects
|
virtual double | getLoad (CORBA::Short p) |
virtual CORBA::Long | getFreeMemory () |
| returns free memory available in bytes
|
virtual CORBA::Long | getAllocatedMemory () |
| returns memory used in CORBA processes
|
virtual void | update () |
| examine all spawned phases and prune those that are obsolete
|
virtual void | remove (CORBA::Long i) |
virtual void | apoptosize (CORBA::Long i) |
Public Attributes |
int | verbose |
| prints detailed progress to STDOUT if true
|
Private Member Functions |
PhaseEntry * | getEntry (CORBA::Long i) |
Private Attributes |
CORBA::ORB_var | orb |
| Object Resource Broker pointer.
|
int | gracePeriod |
| number of seconds to let unused object live
|
deque< PhaseEntry > | phaselist |
| STL deque holding activated object id's.
|
Static Private Attributes |
static int | identifier |
| current unique object identifier value
|
Detailed Description
Manager object for monitoring and cleaning up dPhase CORBA objects
- Id:
- PhaseManager_i.h,v 1.9 2007/09/12 16:52:57 kress Exp
- Author:
- Victor Kress
- Revision:
- 1.9
Definition at line 26 of file PhaseManager_i.h.
Member Function Documentation
virtual void PhaseManager_i::add |
( |
phases::dPhase_ptr |
dpv, |
|
|
CORBA::Long |
pid, |
|
|
const common::ClientData & |
cd | |
|
) |
| | [virtual] |
registers new phase with manager object registers new phase with manager object
- Parameters:
-
| dpv | CORBA var pointer to object |
| pid | local system process id for object process |
virtual void PhaseManager_i::apoptosize |
( |
CORBA::Long |
i |
) |
[virtual] |
induce recalcitrant or stuck dPhase to self-destruct
- Parameters:
-
PhaseEntry* PhaseManager_i::getEntry |
( |
CORBA::Long |
i |
) |
[private] |
utility method to get entry pointer from unique identifier.
- Parameters:
-
virtual double PhaseManager_i::getLoad |
( |
CORBA::Short |
p |
) |
[virtual] |
returns current processor load in percent.
- Parameters:
-
| p | processor number. -1 returns average. |
virtual void PhaseManager_i::remove |
( |
CORBA::Long |
i |
) |
[virtual] |
induce dPhase to self-destruct
- Parameters:
-
The documentation for this class was generated from the following file: