Skip to content
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

Docs: Fix Routing unresolved base documentaion #5592

Merged
merged 1 commit into from
Feb 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/core/Akka/Routing/Resizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -344,15 +344,15 @@ public int Backoff(int pressure, int capacity)
/// </summary>
public int MessagesPerResize { get; private set; }

/// <inheritdoc/>

public bool Equals(DefaultResizer other)
{
if (ReferenceEquals(null, other)) return false;
if (ReferenceEquals(this, other)) return true;
return MessagesPerResize == other.MessagesPerResize && BackoffRate.Equals(other.BackoffRate) && RampupRate.Equals(other.RampupRate) && BackoffThreshold.Equals(other.BackoffThreshold) && UpperBound == other.UpperBound && PressureThreshold == other.PressureThreshold && LowerBound == other.LowerBound;
}

/// <inheritdoc/>

public override bool Equals(object obj)
{
if (ReferenceEquals(null, obj)) return false;
Expand All @@ -361,7 +361,7 @@ public override bool Equals(object obj)
return Equals((DefaultResizer)obj);
}

/// <inheritdoc/>

public override int GetHashCode()
{
unchecked
Expand Down
8 changes: 4 additions & 4 deletions src/core/Akka/Routing/Router.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public override Task<object> Ask(object message, TimeSpan? timeout)
return Actor.Ask(message, timeout);
}

/// <inheritdoc/>

public override bool Equals(object obj)
{
if (ReferenceEquals(null, obj)) return false;
Expand All @@ -118,7 +118,7 @@ public override bool Equals(object obj)
/// <inheritdoc/>
protected bool Equals(ActorRefRoutee other) => Equals(Actor, other.Actor);

/// <inheritdoc/>

public override int GetHashCode() => Actor?.GetHashCode() ?? 0;
}

Expand Down Expand Up @@ -150,7 +150,7 @@ public override Task<object> Ask(object message, TimeSpan? timeout)
return Selection.Ask(message, timeout);
}

/// <inheritdoc/>

public override bool Equals(object obj)
{
if (ReferenceEquals(null, obj)) return false;
Expand All @@ -162,7 +162,7 @@ public override bool Equals(object obj)
/// <inheritdoc/>
protected bool Equals(ActorSelectionRoutee other) => Equals(Selection, other.Selection);

/// <inheritdoc/>

public override int GetHashCode() => Selection?.GetHashCode() ?? 0;
}

Expand Down
18 changes: 9 additions & 9 deletions src/core/Akka/Routing/RouterConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public virtual void VerifyConfig(ActorPath path)
/// <returns>The surrogate representation of the current router.</returns>
public abstract ISurrogate ToSurrogate(ActorSystem system);

/// <inheritdoc/>

public bool Equals(RouterConfig other)
{
if (ReferenceEquals(null, other)) return false;
Expand All @@ -133,7 +133,7 @@ public bool Equals(RouterConfig other)
return GetType() == other.GetType() && (GetType() == typeof(NoRouter) || string.Equals(RouterDispatcher, other.RouterDispatcher));
}

/// <inheritdoc/>

public override bool Equals(object obj) => Equals(obj as RouterConfig);
}

Expand Down Expand Up @@ -203,15 +203,15 @@ public override ActorBase CreateRouterActor()
return new RouterActor();
}

/// <inheritdoc/>

public bool Equals(Group other)
{
if (ReferenceEquals(null, other)) return false;
if (ReferenceEquals(this, other)) return true;
return InternalPaths.SequenceEqual(other.InternalPaths);
}

/// <inheritdoc/>

public override bool Equals(object obj)
{
if (ReferenceEquals(null, obj)) return false;
Expand All @@ -220,7 +220,7 @@ public override bool Equals(object obj)
return Equals((Group)obj);
}

/// <inheritdoc/>

public override int GetHashCode() => InternalPaths?.GetHashCode() ?? 0;
}

Expand Down Expand Up @@ -362,7 +362,7 @@ public static SupervisorStrategy DefaultSupervisorStrategy
}
}

/// <inheritdoc/>

public bool Equals(Pool other)
{
if (ReferenceEquals(null, other)) return false;
Expand All @@ -371,7 +371,7 @@ public bool Equals(Pool other)
NrOfInstances == other.NrOfInstances;
}

/// <inheritdoc/>

public override bool Equals(object obj)
{
if (ReferenceEquals(null, obj)) return false;
Expand All @@ -380,7 +380,7 @@ public override bool Equals(object obj)
return Equals((Pool)obj);
}

/// <inheritdoc/>

public override int GetHashCode()
{
unchecked
Expand Down Expand Up @@ -414,7 +414,7 @@ protected CustomRouterConfig(string routerDispatcher) : base(routerDispatcher)
{
}

/// <inheritdoc cref="RouterConfig.CreateRouterActor"/>

public override ActorBase CreateRouterActor()
{
return new RouterActor();
Expand Down