IBeginEndWrite

Description

interface Tinman.Core.Util.IBeginEndWrite

Derived from

IBeginEnd
ICanWrite

Extended by

BlockStorage sealed

Base interface for classes with IBeginEnd semantics that provide the additional concept of read/write accesses.

Public / Methods

BeginWrite


public method BeginWrite → ()

Begins an exclusive read-write access.

Read-write access is acquired by calling BeginWrite or by calling IBeginEnd.Begin, followed by a later call to WriteAcquire.

WriteAcquire


[BeginEnd]
public method WriteAcquire → ()

Acquires read-write access for the current read-only access.

After calling IBeginEnd.Begin, read-only access is allowed on the storage object. By calling the WriteAcquire method, the access is turned into read-write access (blocking may be necessary for this).

WriteRelinquish


[BeginEnd]
public method WriteRelinquish → ()

Returns to read-only access from the current read-write access.