Interface Configuration

All Known Implementing Classes:
DefaultConfiguration

public interface Configuration
Application configuration
  • Method Details

    • getDatabaseUser

      String getDatabaseUser()
      Retrieve the database user
      Returns:
      the user to access the database
    • getDatabasePassword

      String getDatabasePassword()
      Retrieves the database password
      Returns:
      the unencrypted password to access the database
    • getDatabaseConnectionString

      String getDatabaseConnectionString()
      Retrieves the connection string
      Returns:
      the jdbc string to connect to the database
    • getBatchSize

      int getBatchSize()
      Retrieves the number of attestation results to process at a time.
      Returns:
      the maximum number of attestation results to process.
    • getCorePoolSize

      int getCorePoolSize()
      Retrieves the number of core threads for the queue processor
      Returns:
      the number of core threads
    • getMaximumPoolSize

      int getMaximumPoolSize()
      Retrieves the maximum number of threads for the queue processor
      Returns:
      the maximum number of threads
    • getThreadKeepAliveInSeconds

      long getThreadKeepAliveInSeconds()
      The number of seconds a thread will remain alive even without work to do.
      Returns:
      the number of seconds a thread will be kept idle.
    • toProperties

      Properties toProperties()
      Convert this configuration to a Properties
      Returns:
      a Properties representing the configuration.