GrainServiceClient<TGrainService> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Proxies requests to the appropriate GrainService based on the appropriate Ring partitioning strategy.
public abstract class GrainServiceClient<TGrainService> : Orleans.Services.IGrainServiceClient<TGrainService> where TGrainService : IGrainService
type GrainServiceClient<'GrainService (requires 'GrainService :> IGrainService)> = class
interface IGrainServiceClient<'GrainService (requires 'GrainService :> IGrainService)>
Public MustInherit Class GrainServiceClient(Of TGrainService)
Implements IGrainServiceClient(Of TGrainService)
Type Parameters
- TGrainService
- Inheritance
-
GrainServiceClient<TGrainService>
- Implements
Constructors
GrainServiceClient<TGrainService>(IServiceProvider) |
Currently we only support a single GrainService per Silo, when multiple are supported we will request the number of GrainServices to partition per silo here. |
Properties
CallingGrainReference |
Resolves the Grain Reference invoking this request. |
CurrentGrainReference |
Gets a reference to the the currently executing grain. |
GrainService |
Resolves the correct GrainService responsible for actioning the request based on the CallingGrainReference |
Methods
GetGrainService(GrainId) |
Get a reference to the GrainService responsible for actioning the request based on the |
GetGrainService(SiloAddress) |
Get a reference to the GrainService responsible for actioning the request based on the |
GetGrainService(UInt32) |
Get a reference to the GrainService responsible for actioning the request based on the |