-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[WIP]: resolve ThrottlerTransportAdapter NRE
#7565
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
Aaronontheweb
wants to merge
12
commits into
akkadotnet:dev
Choose a base branch
from
Aaronontheweb:fix-7564-ThrottlerNRE
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
e2249dc
`ThrottleTransportAdapter`: clean up `TBD`s
Aaronontheweb 41328cc
`ISystemMessage`: clean up `TBD`s
Aaronontheweb 0ca55d4
change `ActorRef.Extensions` to support nullability
Aaronontheweb 42aaaff
Merge branch 'dev' into fix-7564-ThrottlerNRE
Aaronontheweb b392b9b
`ActorRef` mutability and API fixes
Aaronontheweb fb0a49b
clean up
Aaronontheweb e91cfc3
style fixes to `SystemMessageSerializer`
Aaronontheweb 4f081f3
cleaned up `ISystemMessage` comments
Aaronontheweb 56f8ad7
more `ISystemMessage` comment cleanup
Aaronontheweb b6ad3f5
working on nullability fixes for `ISystemMessage`
Aaronontheweb c7a6336
Merge branch 'dev' into fix-7564-ThrottlerNRE
Aaronontheweb 1153c5d
Merge branch 'dev' into fix-7564-ThrottlerNRE
Aaronontheweb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -295,7 +295,7 @@ namespace Akka.Actor | |
| } | ||
| public class static ActorRefExtensions | ||
| { | ||
| public static Akka.Actor.IActorRef GetOrElse(this Akka.Actor.IActorRef actorRef, System.Func<Akka.Actor.IActorRef> elseValue) { } | ||
| public static Akka.Actor.IActorRef GetOrElse([System.Runtime.CompilerServices.NullableAttribute(2)] this Akka.Actor.IActorRef actorRef, System.Func<Akka.Actor.IActorRef> elseValue) { } | ||
| public static bool IsNobody(this Akka.Actor.IActorRef actorRef) { } | ||
| } | ||
| public class static ActorRefFactoryExtensions | ||
|
|
@@ -1409,15 +1409,10 @@ namespace Akka.Actor | |
| } | ||
| public sealed class Nobody : Akka.Actor.MinimalActorRef | ||
| { | ||
| public static Akka.Actor.Nobody Instance; | ||
| public static readonly Akka.Actor.Nobody Instance; | ||
| public override Akka.Actor.ActorPath Path { get; } | ||
| public override Akka.Actor.IActorRefProvider Provider { get; } | ||
| public override Akka.Util.ISurrogate ToSurrogate(Akka.Actor.ActorSystem system) { } | ||
| public class NobodySurrogate : Akka.Util.ISurrogate | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Never needed to be part of the public API - just the |
||
| { | ||
| public NobodySurrogate() { } | ||
| public Akka.Util.ISurrogated FromSurrogate(Akka.Actor.ActorSystem system) { } | ||
| } | ||
| } | ||
| public class OneForOneStrategy : Akka.Actor.SupervisorStrategy, System.IEquatable<Akka.Actor.OneForOneStrategy> | ||
| { | ||
|
|
@@ -3175,19 +3170,23 @@ namespace Akka.Dispatch.MessageQueues | |
| } | ||
| namespace Akka.Dispatch.SysMsg | ||
| { | ||
| [System.Runtime.CompilerServices.NullableAttribute(0)] | ||
| public sealed class ActorTask : Akka.Dispatch.SysMsg.SystemMessage | ||
| { | ||
| public ActorTask(System.Threading.Tasks.Task task) { } | ||
| public System.Threading.Tasks.Task Task { get; } | ||
| } | ||
| [System.Runtime.CompilerServices.NullableAttribute(0)] | ||
| public sealed class Create : Akka.Dispatch.SysMsg.SystemMessage | ||
| { | ||
| public Create(Akka.Actor.ActorInitializationException failure = null) { } | ||
| [System.Runtime.CompilerServices.NullableAttribute(2)] | ||
| public Akka.Actor.ActorInitializationException Failure { get; } | ||
| public override bool Equals(object obj) { } | ||
| public override int GetHashCode() { } | ||
| public override string ToString() { } | ||
| } | ||
| [System.Runtime.CompilerServices.NullableAttribute(0)] | ||
| public sealed class DeathWatchNotification : Akka.Dispatch.SysMsg.SystemMessage, Akka.Event.IDeadLetterSuppression | ||
| { | ||
| public DeathWatchNotification(Akka.Actor.IActorRef actor, bool existenceConfirmed, bool addressTerminated) { } | ||
|
|
@@ -3196,13 +3195,15 @@ namespace Akka.Dispatch.SysMsg | |
| public bool ExistenceConfirmed { get; } | ||
| public override string ToString() { } | ||
| } | ||
| [System.Runtime.CompilerServices.NullableAttribute(0)] | ||
| public sealed class Escalate : Akka.Dispatch.SysMsg.SystemMessage | ||
| { | ||
| public Escalate(System.Exception reason) { } | ||
| public System.Exception Reason { get; } | ||
| public override string ToString() { } | ||
| } | ||
| [Akka.Annotations.InternalApiAttribute()] | ||
| [System.Runtime.CompilerServices.NullableAttribute(0)] | ||
| public sealed class Failed : Akka.Dispatch.SysMsg.SystemMessage | ||
| { | ||
| public Failed(Akka.Actor.IActorRef child, System.Exception cause, long uid) { } | ||
|
|
@@ -3217,17 +3218,20 @@ namespace Akka.Dispatch.SysMsg | |
| public NoMessage() { } | ||
| public override string ToString() { } | ||
| } | ||
| [System.Runtime.CompilerServices.NullableAttribute(0)] | ||
| public sealed class Recreate : Akka.Dispatch.SysMsg.SystemMessage | ||
| { | ||
| public Recreate(System.Exception cause) { } | ||
| public System.Exception Cause { get; } | ||
| public override string ToString() { } | ||
| } | ||
| [System.Runtime.CompilerServices.NullableAttribute(0)] | ||
| public sealed class RegisterTerminationHook | ||
| { | ||
| public static Akka.Dispatch.SysMsg.RegisterTerminationHook Instance { get; } | ||
| public override string ToString() { } | ||
| } | ||
| [System.Runtime.CompilerServices.NullableAttribute(0)] | ||
| public sealed class Resume : Akka.Dispatch.SysMsg.SystemMessage | ||
| { | ||
| public Resume(System.Exception causedByFailure) { } | ||
|
|
@@ -3239,12 +3243,14 @@ namespace Akka.Dispatch.SysMsg | |
| public Stop() { } | ||
| public override string ToString() { } | ||
| } | ||
| [System.Runtime.CompilerServices.NullableAttribute(0)] | ||
| public sealed class StopChild | ||
| { | ||
| public StopChild(Akka.Actor.IActorRef child) { } | ||
| public Akka.Actor.IActorRef Child { get; } | ||
| public override string ToString() { } | ||
| } | ||
| [System.Runtime.CompilerServices.NullableAttribute(0)] | ||
| public sealed class Supervise : Akka.Dispatch.SysMsg.SystemMessage | ||
| { | ||
| public Supervise(Akka.Actor.IActorRef child, bool async) { } | ||
|
|
@@ -3269,16 +3275,19 @@ namespace Akka.Dispatch.SysMsg | |
| public Terminate() { } | ||
| public override string ToString() { } | ||
| } | ||
| [System.Runtime.CompilerServices.NullableAttribute(0)] | ||
| public sealed class TerminationHook | ||
| { | ||
| public static Akka.Dispatch.SysMsg.TerminationHook Instance { get; } | ||
| public override string ToString() { } | ||
| } | ||
| [System.Runtime.CompilerServices.NullableAttribute(0)] | ||
| public sealed class TerminationHookDone | ||
| { | ||
| public static Akka.Dispatch.SysMsg.TerminationHookDone Instance { get; } | ||
| public override string ToString() { } | ||
| } | ||
| [System.Runtime.CompilerServices.NullableAttribute(0)] | ||
| public sealed class Unwatch : Akka.Dispatch.SysMsg.SystemMessage | ||
| { | ||
| public Unwatch(Akka.Actor.IInternalActorRef watchee, Akka.Actor.IInternalActorRef watcher) { } | ||
|
|
@@ -3288,12 +3297,13 @@ namespace Akka.Dispatch.SysMsg | |
| public override int GetHashCode() { } | ||
| public override string ToString() { } | ||
| } | ||
| public class Watch : Akka.Dispatch.SysMsg.SystemMessage | ||
| [System.Runtime.CompilerServices.NullableAttribute(0)] | ||
| public sealed class Watch : Akka.Dispatch.SysMsg.SystemMessage | ||
| { | ||
| public Watch(Akka.Actor.IInternalActorRef watchee, Akka.Actor.IInternalActorRef watcher) { } | ||
| public Akka.Actor.IInternalActorRef Watchee { get; } | ||
| public Akka.Actor.IInternalActorRef Watcher { get; } | ||
| protected bool Equals(Akka.Dispatch.SysMsg.Watch other) { } | ||
| public bool Equals(Akka.Dispatch.SysMsg.Watch other) { } | ||
| public override bool Equals(object obj) { } | ||
| public override int GetHashCode() { } | ||
| public override string ToString() { } | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Never should have been mutable