Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

ConsistencyMngr Class Reference

#include <ConsistencyMngr.h>

List of all members.


Detailed Description

The ConsistencyMngr listens to control streams coming from sunion boxes.

When sunion boxes indicate that they need to reconcile, the ConsistencyMngr manages the state reconciliation of all the boxes in the local query network.


Public Member Functions

 ConsistencyMngr (QueryProcessor &qp)
 Constructor The ConsistencyMngr is a part of the query processor so it accesses the query processor's state.
 ~ConsistencyMngr ()
 The destructor writes all stats to a log file.
void checkForControlStreams (Query &q)
 Examines if a query has an sunion box with a control output stream If so, then starts to monitor the output of the query.
void set_replicas (vector< MedusaID > replicas)
void add_subscription (Subscription sub)
void remove_subscription (Subscription sub)


Constructor & Destructor Documentation

BOREALIS_NAMESPACE_BEGIN ConsistencyMngr::ConsistencyMngr QueryProcessor qp  ) 
 

Constructor The ConsistencyMngr is a part of the query processor so it accesses the query processor's state.

ConsistencyMngr::~ConsistencyMngr  ) 
 

The destructor writes all stats to a log file.


Member Function Documentation

void ConsistencyMngr::add_subscription Subscription  sub  ) 
 

void ConsistencyMngr::checkForControlStreams Query &  q  ) 
 

Examines if a query has an sunion box with a control output stream If so, then starts to monitor the output of the query.

void ConsistencyMngr::remove_subscription Subscription  sub  ) 
 

void ConsistencyMngr::set_replicas vector< MedusaID >  replicas  ) 
 


The documentation for this class was generated from the following files:
Generated on Fri Nov 12 15:15:23 2004 for Borealis by doxygen 1.3.8