C# Class Volante.Impl.AsyncReplicationMasterFile

File performing asynchronous replication of changed pages to specified slave nodes.
Inheritance: ReplicationMasterFile
ファイルを表示 Open project: kjk/volante

Public Methods

Method 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

Method Description
start ( ) : void

Method Details

AsyncReplicationMasterFile() public method

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
return System

AsyncReplicationMasterFile() public method

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
return System

Close() public method

public Close ( ) : void
return void

Write() public method

public Write ( long pos, byte buf ) : void
pos long
buf byte
return void

run() public method

public run ( ) : void
return void