Property | Type | Description | |
---|---|---|---|
ConnectionTimeout | int | ||
LingerTime | int | ||
MaxConnectionAttempts | int |
Property | Type | Description | |
---|---|---|---|
ack | bool | ||
db | |||
file | IFile | ||
hosts | string[] | ||
nHosts | int | ||
rcBuf | byte[] | ||
sockets | Socket[] | ||
txBuf | byte[] |
Method | 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 |
Method | 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 |
return | System |
public ReplicationMasterFile ( |
||
db | replication database | |
file | IFile | local file used to store data locally |
return | System |
public static int MaxConnectionAttempts | ||
return | int |
protected ReplicationMasterDatabaseImpl,Volante.Impl db | ||
return |