Public Member Functions

com.cosylab.acs.maci.manager.ComponentInfoTopologicalSortManager Class Reference

List of all members.

Public Member Functions

 ComponentInfoTopologicalSortManager (HandleDataStore components, HandleDataStore containers, ReaderPreferenceReadWriteLock activationPendingRWLock, Set pendingContainerShutdown, ThreadPoolExecutor threadPool, Logger logger)
void run ()
void requestTopologicalSort ()
synchronized void notifyTopologyChange (int containerHandleToNotify)
ComponentInfo[] getComponentShutdownOrder (ContainerInfo containerInfo)
synchronized void destroy ()

Detailed Description

Manages TS.


Constructor & Destructor Documentation

com.cosylab.acs.maci.manager.ComponentInfoTopologicalSortManager.ComponentInfoTopologicalSortManager ( HandleDataStore  components,
HandleDataStore  containers,
ReaderPreferenceReadWriteLock  activationPendingRWLock,
Set  pendingContainerShutdown,
ThreadPoolExecutor  threadPool,
Logger  logger 
)

Member Function Documentation

synchronized void com.cosylab.acs.maci.manager.ComponentInfoTopologicalSortManager.destroy (  ) 

Destroy (terminate thread).

ComponentInfo [] com.cosylab.acs.maci.manager.ComponentInfoTopologicalSortManager.getComponentShutdownOrder ( ContainerInfo  containerInfo  ) 

Get component shutdown order for container.

Parameters:
containerInfo valid container's info, if null complete TS is returned.
Returns:
component shutdown order

References com.cosylab.acs.maci.ComponentInfo.getContainerName(), and com.cosylab.acs.maci.ContainerInfo.getName().

synchronized void com.cosylab.acs.maci.manager.ComponentInfoTopologicalSortManager.notifyTopologyChange ( int  containerHandleToNotify  ) 

Notify about (possible) topology change and initiates sorting.

Parameters:
containerHandleToNotify container handle to notify.
void com.cosylab.acs.maci.manager.ComponentInfoTopologicalSortManager.requestTopologicalSort (  ) 
void com.cosylab.acs.maci.manager.ComponentInfoTopologicalSortManager.run (  ) 

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties