C# Class Volante.PersistentResource

Base class for persistent capable objects supporting locking
Inheritance: Persistent, IResource
Mostra file Open project: kjk/volante

Public Methods

Method Description
ExclusiveLock ( long timeout ) : bool
ExclusiveLock ( ) : void
Reset ( ) : void
SharedLock ( long timeout ) : bool
SharedLock ( ) : void
Unlock ( ) : void

Protected Methods

Method Description
PersistentResource ( ) : System
PersistentResource ( IDatabase db ) : System

Method Details

ExclusiveLock() public method

public ExclusiveLock ( long timeout ) : bool
timeout long
return bool

ExclusiveLock() public method

public ExclusiveLock ( ) : void
return void

PersistentResource() protected method

protected PersistentResource ( ) : System
return System

PersistentResource() protected method

protected PersistentResource ( IDatabase db ) : System
db IDatabase
return System

Reset() public method

public Reset ( ) : void
return void

SharedLock() public method

public SharedLock ( long timeout ) : bool
timeout long
return bool

SharedLock() public method

public SharedLock ( ) : void
return void

Unlock() public method

public Unlock ( ) : void
return void