Interface PushRegistryConfig

    • Method Summary

      All Methods Instance Methods Default Methods Deprecated Methods 
      Modifier and Type Method Description
      default int batchSize()  
      default java.time.Duration connectTimeout()
      Deprecated.
      Connect timeout and read timeout have different meanings depending on the HTTP client.
      default boolean enabled()  
      default int numThreads()
      Deprecated.
      since 1.1.13 because this configuration is not used
      default java.time.Duration readTimeout()
      Deprecated.
      Connect timeout and read timeout have different meanings depending on the HTTP client.
      default java.time.Duration step()  
    • Method Detail

      • step

        default java.time.Duration step()
        Returns:
        The step size (reporting frequency) to use. The default is 1 minute.
      • enabled

        default boolean enabled()
        Returns:
        true if publishing is enabled. Default is true.
      • numThreads

        @Deprecated
        default int numThreads()
        Deprecated.
        since 1.1.13 because this configuration is not used
        Return the number of threads to use with the scheduler. Note that this configuration is NOT supported.
        Returns:
        The number of threads to use with the scheduler. The default is 2 threads.
      • connectTimeout

        @Deprecated
        default java.time.Duration connectTimeout()
        Deprecated.
        Connect timeout and read timeout have different meanings depending on the HTTP client. Configure timeout options on your HttpSender of choice instead.
        Returns:
        The connection timeout for requests to the backend. The default is 1 second.
      • readTimeout

        @Deprecated
        default java.time.Duration readTimeout()
        Deprecated.
        Connect timeout and read timeout have different meanings depending on the HTTP client. Configure timeout options on your HttpSender of choice instead.
        Returns:
        The read timeout for requests to the backend. The default is 10 seconds.
      • batchSize

        default int batchSize()
        Returns:
        The number of measurements per request to use for the backend. If more measurements are found, then multiple requests will be made. The default is 10,000.