Skip to content

Commit

Permalink
docs: fix javadoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
QwQ-dev committed Jan 9, 2025
1 parent e284994 commit cc0b6f5
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package net.legacy.library.player.task.redis;

import net.legacy.library.player.service.LegacyPlayerDataService;
import org.apache.commons.lang3.tuple.Pair;
import org.redisson.api.RStream;
import org.redisson.api.StreamMessageId;

Expand Down Expand Up @@ -31,15 +30,15 @@ public interface RStreamAccepterInterface {
* Determine whether to limit task processing to prevent duplicates within a single server or connection.
*
* <p>If this method returns {@code true}, the task will be processed only once per
* connection on each server. After the {@link #accept(RStream, StreamMessageId, LegacyPlayerDataService, Pair)} method is executed,
* connection on each server. After the {@link #accept(RStream, StreamMessageId, LegacyPlayerDataService, String)} method is executed,
* the task will not be executed again by the same instance unless explicitly deleted.
*
* <p>However, if another server or connection processes the task, it can still
* be handled there. A task remains in the rStream until it is correctly processed
* and deleted, or until it expires.
*
* <p>If this method returns {@code false}, the task can be processed repeatedly,
* regardless of whether the {@link #accept(RStream, StreamMessageId, LegacyPlayerDataService, Pair)} method runs on the
* regardless of whether the {@link #accept(RStream, StreamMessageId, LegacyPlayerDataService, String)} method runs on the
* same connection or instance.
*
* @return {@code true} if task records are limited to a single handling per connection
Expand Down

0 comments on commit cc0b6f5

Please sign in to comment.