This commit is contained in:
Ebere Abanonu 2022-02-15 20:24:53 +01:00 коммит произвёл GitHub
Родитель 06f9c9eb99
Коммит 79594a3873
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
8 изменённых файлов: 8 добавлений и 9 удалений

Просмотреть файл

@ -11,7 +11,6 @@ Full API reference documentation on Akka.NET's modules, classes, and APIs.
* [Akka.Streams API Docs](Akka.Streams.yml)
* [Akka.Cluster API Docs](Akka.Cluster.yml)
* [Akka.Cluster.Sharding API Docs](Akka.Cluster.Sharding.yml)
* [Akka.Cluster.Tools API Docs](Akka.Cluster.Tools.yml)
* [Akka.DependencyInjection API Docs](Akka.DependencyInjection.yml)
* [Akka.Discovery API Docs](Akka.Discovery.yml)

Просмотреть файл

@ -444,7 +444,7 @@ There are two conventions that needs to be implemented when you extend `IExtensi
* It is strongly recommended to create a static `Get` method that returns an instance of this class. This method is responsible for registering the extension with the Akka.NET extension manager and instantiates a new instance for users to use.
[!code-csharp[Get-Instance](../../../src/examples/Akka.Persistence.Custom/SqlitePersistence.cs?name=Get-Instance "Extension static Get method")]
[!code-csharp[GetInstance](../../../src/examples/Akka.Persistence.Custom/SqlitePersistence.cs?name=GetInstance "Extension static Get method")]
### Extending `ExtensionIdProvider<T>`

Просмотреть файл

@ -114,7 +114,7 @@ You can achieve similar results for your application.
#### Optimizing Batches for Your Use Case
To take advantage of I/O batching in DotNetty, you need to [tailor the following Akka.Remote configuration values to your use case](../../configuration/modules/akka.remote.md):
To take advantage of I/O batching in DotNetty, you need to [tailor the following Akka.Remote configuration values to your use case](../../articles/configuration/modules/akka.remote.md):
```hocon
akka.remote.dot-netty.tcp{

Просмотреть файл

@ -52,7 +52,7 @@ The first step in creating an effective multi-node test is to define the configu
The declaration of the `RoleName` properties is what the MNTR uses to determine how many nodes will be participating in this test. In this example, the test will create exactly two test processes.
The `CommonConfig` element of the [`MultiNodeConfig` implementation class](../../api/Akka.Remote.TestKit.MultiNodeConfig.md) is the common config that will be used throughout all of the nodes inside the multi-node test. So, for instance, if you want all of the nodes in your test to run [Akka.Cluster.Sharding](xref:cluster-sharding) you'd want to include those configuration elements inside the `CommonConfig` property.
The `CommonConfig` element of the [`MultiNodeConfig` implementation class](../../api/Akka.Remote.TestKit.MultiNodeConfig.html) is the common config that will be used throughout all of the nodes inside the multi-node test. So, for instance, if you want all of the nodes in your test to run [Akka.Cluster.Sharding](xref:cluster-sharding) you'd want to include those configuration elements inside the `CommonConfig` property.
#### Configuring Individual Nodes Differently

Просмотреть файл

@ -57,7 +57,7 @@ The first step in creating an effective multi-node test is to define the configu
The declaration of the `RoleName` properties is what the MNTR uses to determine how many nodes will be participating in this test. In this example, the test will create exactly two test processes.
The `CommonConfig` element of the [`MultiNodeConfig` implementation class](../../api/Akka.Remote.TestKit.MultiNodeConfig.md) is the common config that will be used throughout all of the nodes inside the multi-node test. So, for instance, if you want all of the nodes in your test to run [Akka.Cluster.Sharding](xref:cluster-sharding) you'd want to include those configuration elements inside the `CommonConfig` property.
The `CommonConfig` element of the [`MultiNodeConfig` implementation class](../../api/Akka.Remote.TestKit.MultiNodeConfig.html) is the common config that will be used throughout all of the nodes inside the multi-node test. So, for instance, if you want all of the nodes in your test to run [Akka.Cluster.Sharding](xref:cluster-sharding) you'd want to include those configuration elements inside the `CommonConfig` property.
#### Configuring Individual Nodes Differently

Просмотреть файл

@ -2,7 +2,7 @@
<PropertyGroup>
<Copyright>Copyright © 2013-2021 Akka.NET Team</Copyright>
<Authors>Akka.NET Team</Authors>
<VersionPrefix>1.4.33</VersionPrefix>
<VersionPrefix>1.4.34</VersionPrefix>
<PackageIcon>akkalogo.png</PackageIcon>
<PackageProjectUrl>https://github.com/akkadotnet/akka.net</PackageProjectUrl>
<PackageLicenseUrl>https://github.com/akkadotnet/akka.net/blob/master/LICENSE</PackageLicenseUrl>

Просмотреть файл

@ -13,7 +13,7 @@ using System.Reflection;
namespace Akka.TestKit.Xunit.Internals
{
/// <summary>
/// Default implementation of IEqualityComparer<T> used by the Akka's xUnit.net equality assertions.
/// Default implementation of IEqualityComparer{T} used by the Akka's xUnit.net equality assertions.
/// Copy of xUnits code
/// https://github.com/xunit/xunit/blob/3e6ab94ca231a6d8c86e90d6e724631a0faa33b7/src/xunit.assert/Asserts/Sdk/AssertEqualityComparer.cs
/// <remarks>Note! Part of internal API. Breaking changes may occur without notice. Use at own risk.</remarks>

Просмотреть файл

@ -23,12 +23,12 @@ namespace Akka.Persistence.Custom
return ConfigurationFactory.FromResource<SqlitePersistence>("Akka.Persistence.Custom.sqlite.conf");
}
// <Get-Instance>
// <GetInstance>
public static SqlitePersistence Get(ActorSystem system)
{
return system.WithExtension<SqlitePersistence, SqlitePersistenceProvider>();
}
// </Get-Instance>
// </GetInstance>
/// <summary>
/// Journal-related settings loaded from HOCON configuration.