#include <replicator.h>
Public Methods | |
virtual bool | connectionBroken (char *hostName)=0 |
virtual void | transactionCommitted ()=0 |
virtual void | replicationEnd ()=0 |
virtual bool | preserveSlaveConsistency ()=0 |
|
Connnection with specified host is broken If this method returns TRUE then replication is continued for the rest of slaves, otherwise replication is interrupted. |
|
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. |
|
This method is called only for replication slave when replication is terminated by master |
|
This method is called only for replication slave when the whole transaction is completely transfered from the master. |