IActorController Interface |
Specific definition of the IConcurrencyController for the ActorThreadingModel.
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading (in PostSharp.Patterns.Threading.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public interface IActorController : IConcurrencyController, IDispatcherObject
The IActorController type exposes the following members.
Name | Description | |
---|---|---|
Dispatcher |
Gets the IActorDispatcher for the current actor.
| |
IsReadOnly |
Determines whether the entity is currently read-only.
(Inherited from IConcurrencyController.) | |
IsSharable |
Determines whether the entity can currently be accessed concurrently by several threads.
(Inherited from IConcurrencyController.) | |
ThreadingModel |
Gets the ThreadingModel implemented by the current controller.
(Inherited from IConcurrencyController.) |
Name | Description | |
---|---|---|
AcquireAccess |
Acquires access on the entity for the current thread and waits synchronously if access cannot be immediately acquired.
(Inherited from IConcurrencyController.) | |
AcquireAccessAsync |
Asynchronously acquires access on the entity for the current thread and returns an async awaiter.
(Inherited from IConcurrencyController.) | |
CheckAccess |
Determines whether the current thread has a specified level of access to the entity.
(Inherited from IConcurrencyController.) | |
RequireAccess |
Determines whether the current thread has a specified level of access to the entity and throws an exception if not.
(Inherited from IConcurrencyController.) |