Class ReenqueueRetryStrategy.Factory

  • Enclosing interface:
    ReenqueueRetryStrategy

    public static final class ReenqueueRetryStrategy.Factory
    extends java.lang.Object
    Фабрика для создания стратегии повтора задача, в зависимости от настроек
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ReenqueueRetryStrategy create​(ReenqueueSettings reenqueueSettings)
      Создает стратегию на основе переданных настроек переоткладывания задач для очереди.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • create

        @Nonnull
        public static ReenqueueRetryStrategy create​(@Nonnull
                                                    ReenqueueSettings reenqueueSettings)
        Создает стратегию на основе переданных настроек переоткладывания задач для очереди.
        Parameters:
        reenqueueSettings - настройки переоткладывания задач
        Returns:
        стратегия