Свойство | Type | Description | |
---|---|---|---|
ConnectionTimeout | int | ||
LingerTime | int | ||
MaxConnectionAttempts | int |
Свойство | Type | Description | |
---|---|---|---|
ack | bool | ||
db | |||
file | IFile | ||
hosts | string[] | ||
nHosts | int | ||
rcBuf | byte[] | ||
sockets | Socket[] | ||
txBuf | byte[] |
Méthode | Description | |
---|---|---|
Close ( ) : void | ||
GetNumberOfAvailableHosts ( ) : int | ||
HandleError ( string host ) : bool |
When overriden by base class this method perfroms socket error handling
|
|
Lock ( ) : void | ||
Read ( long pos, byte buf ) : int | ||
ReplicationMasterFile ( IFile file, string hosts, bool ack ) : System |
Constructor of replication master file
|
|
ReplicationMasterFile ( |
Constructor of replication master file
|
|
Sync ( ) : void | ||
Write ( long pos, byte buf ) : void |
Méthode | Description | |
---|---|---|
connect ( int i ) : void |
public ReplicationMasterFile ( IFile file, string hosts, bool ack ) : System | ||
file | IFile | local file used to store data locally |
hosts | string | slave node hosts to which replication will be performed |
ack | bool | whether master should wait acknowledgment from slave node during trasanction commit |
Résultat | System |
public ReplicationMasterFile ( |
||
db | replication database | |
file | IFile | local file used to store data locally |
Résultat | System |
public static int MaxConnectionAttempts | ||
Résultat | int |
protected ReplicationMasterDatabaseImpl,Volante.Impl db | ||
Résultat |