mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 10:58:42 +00:00
fix: guarded suspension checkstyle
This commit is contained in:
@@ -29,7 +29,7 @@ import java.util.concurrent.TimeUnit;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
/**
|
||||
* <p>Guarded-suspension is a concurrent design pattern for handling situation when to execute some
|
||||
* Guarded-suspension is a concurrent design pattern for handling situation when to execute some
|
||||
* action we need condition to be satisfied.
|
||||
* The implementation utilizes a GuardedQueue, which features two primary methods: `get` and `put`.
|
||||
* The key condition governing these operations is that elements cannot be retrieved (`get`) from
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ import lombok.extern.slf4j.Slf4j;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
/**
|
||||
* Test for Guarded Queue
|
||||
* Test for Guarded Queue.
|
||||
*/
|
||||
@Slf4j
|
||||
class GuardedQueueTest {
|
||||
|
||||
Reference in New Issue
Block a user