C# Class DBreeze.Storage.RemoteInstance.RemoteInstanceCommander

Afficher le fichier Open project: hhblaze/DBreeze

Méthodes publiques

Méthode Description
CloseRemoteTable ( ) : void

CloseRemoteTable, returns nothing

DataFileFlush ( ) : void

Data file Flush

DataFileRead ( byte array, int offset, int count ) : int

Reads Datafile

DataFileWrite ( byte array, int offset, int count, bool withFlush ) : void

Writes to remote data file, return sets DataFileLength

DeleteRemoteTable ( ) : void

DeleteRemoteTable

OpenRemoteTable ( string tableName ) : void

Always first command, which send table name and receives back RemoteTableId Opens remote table (data, rollback and rollback helper files), if it doesn't exists, then creates it. All other operations are based on this RemoteTableId.

RemoteInstanceCommander ( IRemoteInstanceCommunicator communicator ) : System
RollbackFileFlush ( ) : void

Rollback file flush

RollbackFileRead ( byte array, int offset, int count ) : int

RollbackFileRead

RollbackFileRecreate ( ) : void

RollbackFileRecreate

RollbackFileWrite ( byte array, int offset, int count, bool withFlush ) : void

Writes to remote rollback file, return sets RollbackFileLength

RollbackHelperFileRead ( byte array, int offset, int count ) : int

RollbackHelperFileRead

RollbackHelperFileWrite ( byte array, int offset, int count, bool withFlush ) : void

Writes to remote rollback helper file, return sets RollbackFileHelperLength

Method Details

CloseRemoteTable() public méthode

CloseRemoteTable, returns nothing
public CloseRemoteTable ( ) : void
Résultat void

DataFileFlush() public méthode

Data file Flush
public DataFileFlush ( ) : void
Résultat void

DataFileRead() public méthode

Reads Datafile
public DataFileRead ( byte array, int offset, int count ) : int
array byte
offset int
count int
Résultat int

DataFileWrite() public méthode

Writes to remote data file, return sets DataFileLength
public DataFileWrite ( byte array, int offset, int count, bool withFlush ) : void
array byte
offset int
count int
withFlush bool
Résultat void

DeleteRemoteTable() public méthode

DeleteRemoteTable
public DeleteRemoteTable ( ) : void
Résultat void

OpenRemoteTable() public méthode

Always first command, which send table name and receives back RemoteTableId Opens remote table (data, rollback and rollback helper files), if it doesn't exists, then creates it. All other operations are based on this RemoteTableId.
public OpenRemoteTable ( string tableName ) : void
tableName string
Résultat void

RemoteInstanceCommander() public méthode

public RemoteInstanceCommander ( IRemoteInstanceCommunicator communicator ) : System
communicator IRemoteInstanceCommunicator
Résultat System

RollbackFileFlush() public méthode

Rollback file flush
public RollbackFileFlush ( ) : void
Résultat void

RollbackFileRead() public méthode

RollbackFileRead
public RollbackFileRead ( byte array, int offset, int count ) : int
array byte
offset int
count int
Résultat int

RollbackFileRecreate() public méthode

RollbackFileRecreate
public RollbackFileRecreate ( ) : void
Résultat void

RollbackFileWrite() public méthode

Writes to remote rollback file, return sets RollbackFileLength
public RollbackFileWrite ( byte array, int offset, int count, bool withFlush ) : void
array byte
offset int
count int
withFlush bool
Résultat void

RollbackHelperFileRead() public méthode

RollbackHelperFileRead
public RollbackHelperFileRead ( byte array, int offset, int count ) : int
array byte
offset int
count int
Résultat int

RollbackHelperFileWrite() public méthode

Writes to remote rollback helper file, return sets RollbackFileHelperLength
public RollbackHelperFileWrite ( byte array, int offset, int count, bool withFlush ) : void
array byte
offset int
count int
withFlush bool
Résultat void