lsst.ctrl.pool  14.0-1-ga2912ff+12
Public Member Functions | Public Attributes | List of all members
lsst.ctrl.pool.pool.PoolSlave Class Reference
Inheritance diagram for lsst.ctrl.pool.pool.PoolSlave:
lsst.ctrl.pool.pool.PoolNode lsst.ctrl.pool.pool.SingletonMeta

Public Member Functions

def log (self, msg, args)
 
def run (self)
 
def reduce (self)
 
def mapNoBalance (self)
 
def mapToPrevious (self)
 
def storeSet (self)
 
def storeDel (self)
 
def storeClear (self)
 
def cacheClear (self)
 
def cacheList (self)
 
def storeList (self)
 
def exit (self)
 
def isMaster (self)
 
def storeSet (self, context, kwargs)
 
def storeDel (self, context, nameList)
 
def storeClear (self, context)
 
def cacheClear (self, context)
 
def cacheList (self, context)
 
def storeList (self, context)
 
def __call__ (self, args, kwargs)
 

Public Attributes

 comm
 
 rank
 
 root
 
 size
 
 debugger
 
 node
 

Detailed Description

Slave node instance of MPI process pool

Definition at line 1046 of file pool.py.

Member Function Documentation

◆ __call__()

def lsst.ctrl.pool.pool.SingletonMeta.__call__ (   self,
  args,
  kwargs 
)
inherited

Definition at line 385 of file pool.py.

◆ cacheClear() [1/2]

def lsst.ctrl.pool.pool.PoolNode.cacheClear (   self,
  context 
)
inherited
Reset cache for a particular context

Definition at line 605 of file pool.py.

◆ cacheClear() [2/2]

def lsst.ctrl.pool.pool.PoolSlave.cacheClear (   self)
Reset cache

Definition at line 1155 of file pool.py.

◆ cacheList() [1/2]

def lsst.ctrl.pool.pool.PoolNode.cacheList (   self,
  context 
)
inherited
List contents of cache

Definition at line 612 of file pool.py.

◆ cacheList() [2/2]

def lsst.ctrl.pool.pool.PoolSlave.cacheList (   self)
List cache contents

Definition at line 1160 of file pool.py.

◆ exit()

def lsst.ctrl.pool.pool.PoolSlave.exit (   self)
Allow exit from loop in 'run'

Definition at line 1170 of file pool.py.

◆ isMaster()

def lsst.ctrl.pool.pool.PoolNode.isMaster (   self)
inherited

Definition at line 524 of file pool.py.

◆ log()

def lsst.ctrl.pool.pool.PoolSlave.log (   self,
  msg,
  args 
)
Log a debugging message

Definition at line 1049 of file pool.py.

◆ mapNoBalance()

def lsst.ctrl.pool.pool.PoolSlave.mapNoBalance (   self)
Process bulk scattered data and return results

Definition at line 1100 of file pool.py.

◆ mapToPrevious()

def lsst.ctrl.pool.pool.PoolSlave.mapToPrevious (   self)
Process the same scattered data processed previously

Definition at line 1117 of file pool.py.

◆ reduce()

def lsst.ctrl.pool.pool.PoolSlave.reduce (   self)
Reduce scattered data and return results

Definition at line 1074 of file pool.py.

◆ run()

def lsst.ctrl.pool.pool.PoolSlave.run (   self)
Serve commands of master node

Slave accepts commands, which are the names of methods to execute.
This exits when a command returns a true value.

Definition at line 1055 of file pool.py.

◆ storeClear() [1/2]

def lsst.ctrl.pool.pool.PoolNode.storeClear (   self,
  context 
)
inherited
Clear stored data for a particular context

Definition at line 598 of file pool.py.

◆ storeClear() [2/2]

def lsst.ctrl.pool.pool.PoolSlave.storeClear (   self)
Reset data store

Definition at line 1150 of file pool.py.

◆ storeDel() [1/2]

def lsst.ctrl.pool.pool.PoolNode.storeDel (   self,
  context,
  nameList 
)
inherited
Delete value in store for a particular context

Definition at line 590 of file pool.py.

◆ storeDel() [2/2]

def lsst.ctrl.pool.pool.PoolSlave.storeDel (   self)
Delete value in store

Definition at line 1145 of file pool.py.

◆ storeList() [1/2]

def lsst.ctrl.pool.pool.PoolNode.storeList (   self,
  context 
)
inherited
List contents of store for a particular context

Definition at line 617 of file pool.py.

◆ storeList() [2/2]

def lsst.ctrl.pool.pool.PoolSlave.storeList (   self)
List store contents

Definition at line 1165 of file pool.py.

◆ storeSet() [1/2]

def lsst.ctrl.pool.pool.PoolNode.storeSet (   self,
  context,
  kwargs 
)
inherited
Set values in store for a particular context

Definition at line 582 of file pool.py.

◆ storeSet() [2/2]

def lsst.ctrl.pool.pool.PoolSlave.storeSet (   self)
Set value in store

Definition at line 1140 of file pool.py.

Member Data Documentation

◆ comm

lsst.ctrl.pool.pool.PoolNode.comm
inherited

Definition at line 495 of file pool.py.

◆ debugger

lsst.ctrl.pool.pool.PoolNode.debugger
inherited

Definition at line 501 of file pool.py.

◆ node

lsst.ctrl.pool.pool.PoolNode.node
inherited

Definition at line 502 of file pool.py.

◆ rank

lsst.ctrl.pool.pool.PoolNode.rank
inherited

Definition at line 496 of file pool.py.

◆ root

lsst.ctrl.pool.pool.PoolNode.root
inherited

Definition at line 497 of file pool.py.

◆ size

lsst.ctrl.pool.pool.PoolNode.size
inherited

Definition at line 498 of file pool.py.


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