Class SynchConfig

  • All Implemented Interfaces:
    Serializable, Comparable<SynchConfig>, org.bedework.util.config.HibernateConfigI, org.bedework.util.logging.Logged

    public class SynchConfig
    extends org.bedework.util.config.HibernateConfigBase<SynchConfig>
    This class defines the various properties we need for the synch engine
    Author:
    Mike Douglass
    See Also:
    Serialized Form
    • Constructor Detail

      • SynchConfig

        public SynchConfig()
    • Method Detail

      • setSynchlingPoolSize

        public void setSynchlingPoolSize​(int val)
        Parameters:
        val - current size of synchling pool
      • getSynchlingPoolSize

        public int getSynchlingPoolSize()
        Returns:
        current size of synchling pool
      • setSynchlingPoolTimeout

        public void setSynchlingPoolTimeout​(long val)
        Parameters:
        val - timeout in millisecs
      • getSynchlingPoolTimeout

        public long getSynchlingPoolTimeout()
        Returns:
        timeout in millisecs
      • setMissingTargetRetries

        public void setMissingTargetRetries​(int val)
        Parameters:
        val - How often we retry when a target is missing
      • getMissingTargetRetries

        public int getMissingTargetRetries()
        Returns:
        How often we retry when a target is missing
      • setCallbackURI

        public void setCallbackURI​(String val)
        web service push callback uri - null for no service
        Parameters:
        val - String
      • getCallbackURI

        public String getCallbackURI()
        web service push callback uri - null for no service
        Returns:
        String
      • setTimezonesURI

        public void setTimezonesURI​(String val)
        Timezone server location
        Parameters:
        val - String
      • getTimezonesURI

        public String getTimezonesURI()
        Timezone server location
        Returns:
        String
      • setKeystore

        public void setKeystore​(String val)
        Path to keystore - null for use default
        Parameters:
        val - String
      • getKeystore

        public String getKeystore()
        Path to keystore - null for use default
        Returns:
        String
      • setPrivKeys

        public void setPrivKeys​(String val)
        Parameters:
        val - String
      • getPrivKeys

        public String getPrivKeys()
        Returns:
        String
      • setPubKeys

        public void setPubKeys​(String val)
        Parameters:
        val - String
      • getPubKeys

        public String getPubKeys()
        Returns:
        String
      • setConnectorConfs

        public void setConnectorConfs​(List<SynchConnConf<?>> val)
        Parameters:
        val - Map of (name, className)
      • getConnectorConfs

        public List<SynchConnConf<?>> getConnectorConfs()
        Set
        Returns:
        map
      • setSubscriptionsOnly

        public void setSubscriptionsOnly​(boolean val)
        This flag alllows us to run synch engine on multiple machines. For the moment only one of those instances should handle the actual synch process. All others shoudl have this flag set to true so that they only handle the creation and deletion of subscriptions.
        Parameters:
        val - true if this instance only handles subscriptions
      • getSubscriptionsOnly

        public boolean getSubscriptionsOnly()
        Returns:
        true if this instance only handles subscriptions