C# Class RavenFS.Storage.StorageActionsAccessor

Inheritance: IDisposable
Afficher le fichier Open project: hibernating-rhinos/RavenFS Class Usage Examples

Private Properties

Свойство Type Description
Commit void
ConfigExists bool
Dispose void
GetTotalSize long?
RetrieveMetadata System.Collections.Specialized.NameValueCollection
ToQueryString string

Méthodes publiques

Méthode Description
AddSignature ( string name, int level, Action action ) : void
AssociatePage ( string filename, int pageId, int pagePositionInFile, int pageSize ) : void
ClearSignatures ( string name ) : void
CompleteFileUpload ( string filename ) : void
DecrementFileCount ( ) : void
Delete ( string filename ) : void
DeleteConfig ( string name ) : void
GetConfig ( string name ) : NameValueCollection
GetConfigNames ( int start, int pageSize ) : IEnumerable
GetConfigNamesStartingWithPrefix ( string prefix, int start, int take, int &total ) : IList
GetConfigsStartWithPrefix ( string prefix, int start, int take ) : IList
GetFile ( string filename, int start, int pagesToLoad ) : FileAndPages
GetFileCount ( ) : int
GetFilesAfter ( System.Guid etag, int take ) : IEnumerable
GetSignatureSize ( int id, int level ) : long
GetSignatureStream ( int id, int level, Action action ) : void
GetSignatures ( string name ) : IEnumerable
InsertPage ( byte buffer, int size ) : int
PulseTransaction ( ) : void
PutFile ( string filename, long totalSize, NameValueCollection metadata, bool tombstone = false ) : void
ReadFile ( string filename ) : FileHeader
ReadFiles ( int start, int size ) : IEnumerable
ReadPage ( int pageId, byte buffer ) : int
RenameFile ( string filename, string rename, bool commitPeriodically = false ) : void
SetConfig ( string name, NameValueCollection metadata ) : void
StorageActionsAccessor ( TableColumnsCache tableColumnsCache, JET_INSTANCE instance, string databaseName ) : System
UpdateFileMetadata ( string filename, NameValueCollection metadata ) : void

Private Methods

Méthode Description
Commit ( ) : void
ConfigExists ( string name ) : bool
Dispose ( ) : void
GetTotalSize ( ) : long?
RetrieveMetadata ( ) : NameValueCollection
ToQueryString ( NameValueCollection metadata ) : string

Method Details

AddSignature() public méthode

public AddSignature ( string name, int level, Action action ) : void
name string
level int
action Action
Résultat void

AssociatePage() public méthode

public AssociatePage ( string filename, int pageId, int pagePositionInFile, int pageSize ) : void
filename string
pageId int
pagePositionInFile int
pageSize int
Résultat void

ClearSignatures() public méthode

public ClearSignatures ( string name ) : void
name string
Résultat void

CompleteFileUpload() public méthode

public CompleteFileUpload ( string filename ) : void
filename string
Résultat void

DecrementFileCount() public méthode

public DecrementFileCount ( ) : void
Résultat void

Delete() public méthode

public Delete ( string filename ) : void
filename string
Résultat void

DeleteConfig() public méthode

public DeleteConfig ( string name ) : void
name string
Résultat void

GetConfig() public méthode

public GetConfig ( string name ) : NameValueCollection
name string
Résultat System.Collections.Specialized.NameValueCollection

GetConfigNames() public méthode

public GetConfigNames ( int start, int pageSize ) : IEnumerable
start int
pageSize int
Résultat IEnumerable

GetConfigNamesStartingWithPrefix() public méthode

public GetConfigNamesStartingWithPrefix ( string prefix, int start, int take, int &total ) : IList
prefix string
start int
take int
total int
Résultat IList

GetConfigsStartWithPrefix() public méthode

public GetConfigsStartWithPrefix ( string prefix, int start, int take ) : IList
prefix string
start int
take int
Résultat IList

GetFile() public méthode

public GetFile ( string filename, int start, int pagesToLoad ) : FileAndPages
filename string
start int
pagesToLoad int
Résultat FileAndPages

GetFileCount() public méthode

public GetFileCount ( ) : int
Résultat int

GetFilesAfter() public méthode

public GetFilesAfter ( System.Guid etag, int take ) : IEnumerable
etag System.Guid
take int
Résultat IEnumerable

GetSignatureSize() public méthode

public GetSignatureSize ( int id, int level ) : long
id int
level int
Résultat long

GetSignatureStream() public méthode

public GetSignatureStream ( int id, int level, Action action ) : void
id int
level int
action Action
Résultat void

GetSignatures() public méthode

public GetSignatures ( string name ) : IEnumerable
name string
Résultat IEnumerable

InsertPage() public méthode

public InsertPage ( byte buffer, int size ) : int
buffer byte
size int
Résultat int

PulseTransaction() public méthode

public PulseTransaction ( ) : void
Résultat void

PutFile() public méthode

public PutFile ( string filename, long totalSize, NameValueCollection metadata, bool tombstone = false ) : void
filename string
totalSize long
metadata System.Collections.Specialized.NameValueCollection
tombstone bool
Résultat void

ReadFile() public méthode

public ReadFile ( string filename ) : FileHeader
filename string
Résultat FileHeader

ReadFiles() public méthode

public ReadFiles ( int start, int size ) : IEnumerable
start int
size int
Résultat IEnumerable

ReadPage() public méthode

public ReadPage ( int pageId, byte buffer ) : int
pageId int
buffer byte
Résultat int

RenameFile() public méthode

public RenameFile ( string filename, string rename, bool commitPeriodically = false ) : void
filename string
rename string
commitPeriodically bool
Résultat void

SetConfig() public méthode

public SetConfig ( string name, NameValueCollection metadata ) : void
name string
metadata System.Collections.Specialized.NameValueCollection
Résultat void

StorageActionsAccessor() public méthode

public StorageActionsAccessor ( TableColumnsCache tableColumnsCache, JET_INSTANCE instance, string databaseName ) : System
tableColumnsCache TableColumnsCache
instance JET_INSTANCE
databaseName string
Résultat System

UpdateFileMetadata() public méthode

public UpdateFileMetadata ( string filename, NameValueCollection metadata ) : void
filename string
metadata System.Collections.Specialized.NameValueCollection
Résultat void