Skip to content

fix warning CA2211 in AzureClient#6

Merged
gabikliot merged 1 commit intodotnet:masterfrom
zerhacken:dev/warning
Jan 24, 2015
Merged

fix warning CA2211 in AzureClient#6
gabikliot merged 1 commit intodotnet:masterfrom
zerhacken:dev/warning

Conversation

@zerhacken
Copy link
Copy Markdown
Contributor

Changed fields MaxRetries and TimeSpan to read-only.

Changed fields MaxRetries and TimeSpan to read-only.
@gabikliot gabikliot self-assigned this Jan 24, 2015
@gabikliot gabikliot merged commit dd3b03d into dotnet:master Jan 24, 2015
@jthelin jthelin added the bug label Jan 25, 2015
jdom pushed a commit to jdom/orleans that referenced this pull request Sep 14, 2016
Change initialization of OutsideRuntimeClient to start with a handshake client ID, and update it with cluster ID received from gateway.
ReubenBond pushed a commit that referenced this pull request Dec 20, 2016
* Implement Grain Services which are a partitioned SystemTarget service.

Can invoke a Grain Service with a test.


Added Grain Service Configuration

Tests reporting:
Exception thrown: 'Orleans.CodeGenerator.CodeGenerationException' in OrleansCodeGenerator.dll

Additional information: (1,18913): error CS0122: 'ITestHooksSystemTarget' is inaccessible due to its protection level
Resolved GrainService GrainId, InsideRuntimeClient using ReminderRegistr


SystemTarget public, GrainServiceClient used

SystemTarget is now public, removed GrainService analog, now contains just GrainService logic
GrainServiceClient is used to locate the IReminderService
Cannot capture the correct Reminder GrainId (GrainClassData not available)?
SystemTarget public, GrainServiceClient used

Initial stab at implementing a partitioned system service.

From @sergeybykov comments, attempted the below:
---
I see at least two potential ways, likely complementary, to expose such functionality to application code.

1) Partitioned system service. Essentially a generalized version of the Reminder service, but with an application system target class instead of LocalReminderService, e.g. GrainService, and a corresponding equivalent to ReminderRegistry proxy class, e.g. GrainServiceClient. We only create a single LocalReminderService system target per silo today, but it shouldn't be too difficult to make that number configurable. In this approach, callers are completely oblivious to partitioning and routing, and it's the responsibility of the GrainService to react to repartitioning events and changes to the ring range it owns.

* Added an explicit method NewGrainServiceKey to UniqueKey instead of reusing the more general NewKey directly.

* Added type name to log statements and as the logger name.

* Reverted RegisterSystemTarget back to internal.

* Eliminated a warning about deprecated Consul method.

* Added XML commenst and tweaked a few methods to eliminate build warnings.

* Tweaks to make code .NET Core compatible.

* Support dependency injection in GrainServices (#6)
@github-actions github-actions bot locked and limited conversation to collaborators Dec 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants