Class TinyMailServiceProp

    • Constructor Detail

      • TinyMailServiceProp

        TinyMailServiceProp()
    • Method Detail

      • getMaxFail

         int getMaxFail()

        max failures for the same email.

      • setMaxFail

         void setMaxFail(int maxFail)

        max failures for the same email.

      • getMaxDone

         int getMaxDone()

        max success for the same email.

      • setMaxDone

         void setMaxDone(int maxDone)

        max success for the same email.

      • getMaxNext

         Duration getMaxNext()

        the email does not need to be sent anymore as it has been a certain amount of time. default 1 day.

      • setMaxNext

         void setMaxNext(Duration maxNext)

        the email does not need to be sent anymore as it has been a certain amount of time. default 1 day.

      • setTryNext

         void setTryNext(Duration tryNext)

        how soon to retry after failure, default 1 minute.

      • getBatchSize

         int getBatchSize()

        max number of bulk emails sent at one time.

      • setBatchSize

         void setBatchSize(int batchSize)

        max number of bulk emails sent at one time.

      • getWarnSize

         int getWarnSize()

        if this capacity is exceeded, log it as Warn.

      • setWarnSize

         void setWarnSize(int warnSize)

        if this capacity is exceeded, log it as Warn.

      • getBootScan

         Duration getBootScan()

        idle time after afterPropertiesSet to scan for unsent/misfired mail, `<=0` for disable.

      • setBootScan

         void setBootScan(Duration bootScan)

        idle time after afterPropertiesSet to scan for unsent/misfired mail, `<=0` for disable.

      • getScanIdle

         Duration getScanIdle()

        idle time to scan for unsent/misfired mail. `<=0` for disable.

      • setScanIdle

         void setScanIdle(Duration scanIdle)

        idle time to scan for unsent/misfired mail. `<=0` for disable.

      • setScheduler

         void setScheduler(TaskSchedulingProperties scheduler)
      • isOnlyApp

         boolean isOnlyApp()

        whether to send emails from this app only.

      • isOnlyRun

         boolean isOnlyRun()

        whether to send emails from this RumMode only.

      • setOnlyApp

         void setOnlyApp(boolean onlyApp)

        whether to send emails from this app only.

      • setOnlyRun

         void setOnlyRun(boolean onlyRun)

        whether to send emails from this RumMode only.