Public Types | Public Member Functions

rock::RockManager Interface Reference

import "rock.idl";

List of all members.

Public Types

typedef sequence< RockStatusStatSeq

Public Member Functions

short getGracePeriod ()
 returns current grace period in seconds
void setGracePeriod (in short sec)
 sets grace period in seconds
void add (in dRock dpv, in long pid, in common::ClientData cd)
 registers new rock with manager object
short getNrock ()
 returns number of active rock objects registered with the factory
StatSeq getStatus ()
 returns sequence of RockStatus objects
double getLoad (in short p)
long getFreeMemory ()
 returns free memory available in bytes (nyi)
long getAllocatedMemory ()
 returns memory used in CORBA processes (nyi)
void update ()
 examine all spawned phases and prune those that are obsolete
void remove (in long i)
void apoptosize (in long i)

Detailed Description

Manager object for monitoring and managing dRock objects

Definition at line 277 of file rock.idl.


Member Function Documentation

void rock::RockManager::apoptosize ( in long  i  ) 

induce recalictrant or locked dRock to self-destruct

Parameters:
i unique server id of dPhase to be killed.
double rock::RockManager::getLoad ( in short  p  ) 

returns current processor load in percent (nyi)

Parameters:
p processor number. -1 returns average.
void rock::RockManager::remove ( in long  i  ) 

induce dRock to self-destruct in orderly manner

Parameters:
i unique server id of dRock to be killed.

The documentation for this interface was generated from the following file: