C# Class DBreeze.Storage.RemoteInstance.RemoteInstanceCommander

Mostra file Open project: hhblaze/DBreeze

Public Methods

Method 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 method

CloseRemoteTable, returns nothing
public CloseRemoteTable ( ) : void
return void

DataFileFlush() public method

Data file Flush
public DataFileFlush ( ) : void
return void

DataFileRead() public method

Reads Datafile
public DataFileRead ( byte array, int offset, int count ) : int
array byte
offset int
count int
return int

DataFileWrite() public method

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

DeleteRemoteTable() public method

DeleteRemoteTable
public DeleteRemoteTable ( ) : void
return void

OpenRemoteTable() public method

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

RemoteInstanceCommander() public method

public RemoteInstanceCommander ( IRemoteInstanceCommunicator communicator ) : System
communicator IRemoteInstanceCommunicator
return System

RollbackFileFlush() public method

Rollback file flush
public RollbackFileFlush ( ) : void
return void

RollbackFileRead() public method

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

RollbackFileRecreate() public method

RollbackFileRecreate
public RollbackFileRecreate ( ) : void
return void

RollbackFileWrite() public method

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

RollbackHelperFileRead() public method

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

RollbackHelperFileWrite() public method

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