Main Page   Class Hierarchy   Compound List   File List   Compound Members  

dbReplicationManager Class Reference

#include <replicator.h>

List of all members.

Public Methods

virtual bool connectionBroken (char *hostName)=0
virtual void transactionCommitted ()=0
virtual void replicationEnd ()=0
virtual bool preserveSlaveConsistency ()=0


Detailed Description

This abstract class should be implemented by application to receive notification about replication process and to control replication process.


Member Function Documentation

virtual bool dbReplicationManager::connectionBroken char *    hostName [pure virtual]
 

Connnection with specified host is broken If this method returns TRUE then replication is continued for the rest of slaves, otherwise replication is interrupted.

virtual bool dbReplicationManager::preserveSlaveConsistency   [pure virtual]
 

If this method returns true, then GigaBASE will preserve consistency of slave replica of the database. So in case of master or slave crash, it will be possible to recover and continue work with slave database. If this method returns false, the slave performance is greatly increased (because of avoiding flushing file buffers to the disk), but in case of fault, slave database may be stayed in inconsistent state.

virtual void dbReplicationManager::replicationEnd   [pure virtual]
 

This method is called only for replication slave when replication is terminated by master

virtual void dbReplicationManager::transactionCommitted   [pure virtual]
 

This method is called only for replication slave when the whole transaction is completely transfered from the master.


The documentation for this class was generated from the following file:
Generated on Thu Feb 14 21:46:05 2008 for GigaBASE by doxygen1.2.18