C# Class Air.LocalAirStorage

LocalAirStorage class.
Inheritance: IAirStorage
Show file Open project: tmitchel2/Air Class Usage Examples

Public Methods

Method Description
AddAsync ( long key, byte value ) : Task

Adds the specified key.

ContainsAsync ( long key ) : Task

Determines whether [contains] [the specified key].

GetLockAsync ( long key ) : Task

Gets the lock async.

LocalAirStorage ( ) : System

Initializes a new instance of the LocalAirStorage class.

ReleaseLockAsync ( long key ) : Task

Releases the lock async.

RemoveAsync ( long key ) : Task

Removes the specified key.

SetAsync ( long key, byte value ) : Task

Sets the async.

TryGetAsync ( long key ) : Task

Gets the specified key.

Method Details

AddAsync() public method

Adds the specified key.
public AddAsync ( long key, byte value ) : Task
key long The key.
value byte The value.
return Task

ContainsAsync() public method

Determines whether [contains] [the specified key].
public ContainsAsync ( long key ) : Task
key long The key.
return Task

GetLockAsync() public method

Gets the lock async.
public GetLockAsync ( long key ) : Task
key long The key.
return Task

LocalAirStorage() public method

Initializes a new instance of the LocalAirStorage class.
public LocalAirStorage ( ) : System
return System

ReleaseLockAsync() public method

Releases the lock async.
public ReleaseLockAsync ( long key ) : Task
key long The key.
return Task

RemoveAsync() public method

Removes the specified key.
public RemoveAsync ( long key ) : Task
key long The key.
return Task

SetAsync() public method

Sets the async.
public SetAsync ( long key, byte value ) : Task
key long The key.
value byte The value.
return Task

TryGetAsync() public method

Gets the specified key.
public TryGetAsync ( long key ) : Task
key long The key.
return Task