C# Class Dazzle.Storage.LevelDBStorage

Inheritance: IStorage
Afficher le fichier Open project: kellabyte/Dazzle.NET

Méthodes publiques

Méthode Description
Delete ( string key ) : void

Delete the key that matches the provided key.

DeleteBatch ( IEnumerable batch ) : void

Delete the batch of keys.

Dispose ( ) : void
Get ( string key ) : string

Get the value for the given key from the storage.

GetEnumerator ( ) : string>>.IEnumerator

Get an enumerator to iterate the storage.

GetEnumerator ( string key ) : string>>.IEnumerator

Get an enumerator starting from the provided key to iterate the storage.

LevelDBStorage ( string path ) : System
Open ( ) : void

Open the storage for use.

Put ( string key, string value ) : void

Put the value for the given key in the storage.

PutBatch ( string>.Dictionary batch ) : void

Put the batch of keys and values in the storage.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
IEnumerable ( ) : IEnumerator

Get an enumerator to iterate the storage.

Method Details

Delete() public méthode

Delete the key that matches the provided key.
public Delete ( string key ) : void
key string Key to delete.
Résultat void

DeleteBatch() public méthode

Delete the batch of keys.
public DeleteBatch ( IEnumerable batch ) : void
batch IEnumerable Batch of keys to delete.
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Get() public méthode

Get the value for the given key from the storage.
public Get ( string key ) : string
key string Key to look up the value of.
Résultat string

GetEnumerator() public méthode

Get an enumerator to iterate the storage.
public GetEnumerator ( ) : string>>.IEnumerator
Résultat string>>.IEnumerator

GetEnumerator() public méthode

Get an enumerator starting from the provided key to iterate the storage.
public GetEnumerator ( string key ) : string>>.IEnumerator
key string The key to start the enumerator at.
Résultat string>>.IEnumerator

LevelDBStorage() public méthode

public LevelDBStorage ( string path ) : System
path string
Résultat System

Open() public méthode

Open the storage for use.
public Open ( ) : void
Résultat void

Put() public méthode

Put the value for the given key in the storage.
public Put ( string key, string value ) : void
key string Key to store value for.
value string Value to store.
Résultat void

PutBatch() public méthode

Put the batch of keys and values in the storage.
public PutBatch ( string>.Dictionary batch ) : void
batch string>.Dictionary Batch of keys and values.
Résultat void