Class RoundRobinMailboxConfigurationStorage

  • All Implemented Interfaces:
    Serializable

    public class RoundRobinMailboxConfigurationStorage
    extends Object
    implements Serializable
    Author:
    zaporozhec Is used to store current mailbox configuration bean. This object is stored in the Redis. and refreshed after each save/delete mailbox configs If there are several active maibox configs which are not a faiolver configs for some others the round robin alg is used to send an email. It means if there are 3 active mailbox configs than for 1st email #1 from the private final LinkedList mailboxConfigurations; will be used, for 2nd #2, for 3rd - #d for 4th - 1st again and etc..
    See Also:
    Serialized Form
    • Field Detail

      • log

        protected final org.apache.commons.logging.Log log
    • Constructor Detail

      • RoundRobinMailboxConfigurationStorage

        public RoundRobinMailboxConfigurationStorage​(List<String> mailboxConfigurationIds)