C# Class Deveel.Data.Store.Journaled.ResourceBase

Inheritance: IJournaledResource
Mostrar archivo Open project: deveel/deveeldb

Public Methods

Method Description
Close ( ) : void
Delete ( ) : void
Dispose ( ) : void
Open ( bool readOnly ) : void
Read ( long pageNumber, byte buffer, int offset ) : void
SetSize ( long value ) : void
Write ( long pageNumber, byte buffer, int offset, int count ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
Persist ( PersistCommand command ) : void
ResourceBase ( JournaledSystem journaledSystem, long id, string name, IStoreData data ) : System
SetReadOnly ( bool value ) : void

Private Methods

Method Description
OnPostRecover ( ) : void
PersistClose ( ) : void
PersistDelete ( ) : void
PersistOpen ( bool readOnly ) : void
PersistPageChange ( long page, int offset, int count, Stream source ) : void
PersistSetSize ( long newSize ) : void
Synch ( ) : void

Method Details

Close() public abstract method

public abstract Close ( ) : void
return void

Delete() public abstract method

public abstract Delete ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Open() public abstract method

public abstract Open ( bool readOnly ) : void
readOnly bool
return void

Persist() protected abstract method

protected abstract Persist ( PersistCommand command ) : void
command PersistCommand
return void

Read() public abstract method

public abstract Read ( long pageNumber, byte buffer, int offset ) : void
pageNumber long
buffer byte
offset int
return void

ResourceBase() protected method

protected ResourceBase ( JournaledSystem journaledSystem, long id, string name, IStoreData data ) : System
journaledSystem JournaledSystem
id long
name string
data IStoreData
return System

SetReadOnly() protected method

protected SetReadOnly ( bool value ) : void
value bool
return void

SetSize() public abstract method

public abstract SetSize ( long value ) : void
value long
return void

Write() public abstract method

public abstract Write ( long pageNumber, byte buffer, int offset, int count ) : void
pageNumber long
buffer byte
offset int
count int
return void