From 1d55148dd92bab085dd6b5ff24a0b52c86c6aebc Mon Sep 17 00:00:00 2001 From: braim23 <94292623+braim23@users.noreply.github.com> Date: Sun, 13 Mar 2022 22:44:12 +0300 Subject: [PATCH] Update Distributed-Locking.md --- docs/en/Distributed-Locking.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/en/Distributed-Locking.md b/docs/en/Distributed-Locking.md index fd59a6a7c9..bea10645ca 100644 --- a/docs/en/Distributed-Locking.md +++ b/docs/en/Distributed-Locking.md @@ -1,13 +1,13 @@ # Distributed Locking -Distributed locking is technique to manage many applications that trying to access the same resource. +Distributed locking is a technique to manage many applications that try to access the same resource. The main purpose is to allow only one of many applications to access the same resource at the same time. -Otherwise accessing the same object from various applications may corrupt the value of resources. +Otherwise, accessing the same object from various applications may corrupt the value of resources. > ABP's current distributed locking implementation is based on the [DistributedLock](https://github.com/madelson/DistributedLock) library. ## Installation -You can open a command-line terminal and type the following command to install the [Volo.Abp.DistributedLocking](https://www.nuget.org/packages/Volo.Abp.DistributedLocking) package it into your project: +You can open a command-line terminal and type the following command to install the [Volo.Abp.DistributedLocking](https://www.nuget.org/packages/Volo.Abp.DistributedLocking) package into your project: ````bash abp add-package Volo.Abp.DistributedLocking @@ -61,7 +61,7 @@ There are two ways to use the distributed locking API: ABP's `IAbpDistributedLoc `IAbpDistributedLock` is a simple service provided by the ABP framework for simple usage of distributed locking. -**Example: Using `IAbpDistributedLock.TryAcquireAsync` method** +**Example: Using the `IAbpDistributedLock.TryAcquireAsync` method** ````csharp using Volo.Abp.DistributedLocking; @@ -101,4 +101,4 @@ namespace AbpDemo ### Using DistributedLock library's API -ABP's `IAbpDistributedLock` service is very limited and mainly designed to be internally used by the ABP Framework. For your own applications, you can use DistributedLock library's own API. See its [own documentation](https://github.com/madelson/DistributedLock) for details. +ABP's `IAbpDistributedLock` service is very limited and mainly designed to be internally used by the ABP Framework. For your own applications, you can use the DistributedLock library's own API. See its [own documentation](https://github.com/madelson/DistributedLock) for details.