Class DeadLetterQueue.FailedEntry<K>

java.lang.Object
cloud.opencode.base.cache.dlq.DeadLetterQueue.FailedEntry<K>
Type Parameters:
K - key type | 键类型
Enclosing class:
DeadLetterQueue<K>

public static class DeadLetterQueue.FailedEntry<K> extends Object
Failed entry record 失败条目记录
Since:
JDK 25, opencode-base-cache V2.0.5
Author:
Leon Soo www.LeonSoo.com
  • Method Details

    • key

      public K key()
      key | key
      Returns:
      the result | 结果
    • firstFailure

      public Instant firstFailure()
      firstFailure | firstFailure
      Returns:
      the result | 结果
    • lastFailure

      public Instant lastFailure()
      lastFailure | lastFailure
      Returns:
      the result | 结果
    • lastError

      public Throwable lastError()
      lastError | lastError
      Returns:
      the result | 结果
    • failureCount

      public int failureCount()
      failureCount | failureCount
      Returns:
      the result | 结果
    • retryCount

      public int retryCount()
      retryCount | retryCount
      Returns:
      the result | 结果
    • nextRetryTime

      public Instant nextRetryTime()
      nextRetryTime | nextRetryTime
      Returns:
      the result | 结果