C# Class Volante.Impl.AsyncReplicationMasterFile

File performing asynchronous replication of changed pages to specified slave nodes.
Inheritance: ReplicationMasterFile
Afficher le fichier Open project: kjk/volante

Méthodes publiques

Méthode Description
AsyncReplicationMasterFile ( IFile file, String hosts, int asyncBufSize, bool ack ) : System

Constructor of replication master file local file used to store data locally slave node hosts to which replication will be performed size of asynchronous buffer whether master should wait acknowledgment from slave node during trasanction commit

AsyncReplicationMasterFile ( ReplicationMasterDatabaseImpl db, IFile file, int asyncBufSize ) : System

Constructor of replication master file replication database local file used to store data locally size of asynchronous buffer

Close ( ) : void
Write ( long pos, byte buf ) : void
run ( ) : void

Private Methods

Méthode Description
start ( ) : void

Method Details

AsyncReplicationMasterFile() public méthode

Constructor of replication master file local file used to store data locally slave node hosts to which replication will be performed size of asynchronous buffer whether master should wait acknowledgment from slave node during trasanction commit
public AsyncReplicationMasterFile ( IFile file, String hosts, int asyncBufSize, bool ack ) : System
file IFile
hosts String
asyncBufSize int
ack bool
Résultat System

AsyncReplicationMasterFile() public méthode

Constructor of replication master file replication database local file used to store data locally size of asynchronous buffer
public AsyncReplicationMasterFile ( ReplicationMasterDatabaseImpl db, IFile file, int asyncBufSize ) : System
db ReplicationMasterDatabaseImpl
file IFile
asyncBufSize int
Résultat System

Close() public méthode

public Close ( ) : void
Résultat void

Write() public méthode

public Write ( long pos, byte buf ) : void
pos long
buf byte
Résultat void

run() public méthode

public run ( ) : void
Résultat void