Package com.onec.mail

Class MailProperties.Relay

java.lang.Object
com.onec.mail.MailProperties.Relay
Enclosing class:
MailProperties

public static class MailProperties.Relay extends Object
Background relay that drains the outbox on a fixed schedule.
  • Constructor Details

    • Relay

      public Relay()
  • Method Details

    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getIntervalMs

      public long getIntervalMs()
    • setIntervalMs

      public void setIntervalMs(long intervalMs)
    • getMaxAttempts

      public int getMaxAttempts()
    • setMaxAttempts

      public void setMaxAttempts(int maxAttempts)
    • getLeaseTimeoutMs

      public long getLeaseTimeoutMs()
    • setLeaseTimeoutMs

      public void setLeaseTimeoutMs(long leaseTimeoutMs)