Class RessorConfig


  • public class RessorConfig
    extends java.lang.Object
    Global configurations for the Ressor
    • Constructor Detail

      • RessorConfig

        public RessorConfig()
    • Method Detail

      • pollingThreads

        public java.lang.Integer pollingThreads()
        The amount of threads used for polling. Default is available processors count
      • threadPool

        public java.util.concurrent.ExecutorService threadPool()
        The thread pool which is used by Ressor services for loading the resources data. Default is thread pool of available processors size
      • isCacheClasses

        public java.lang.Boolean isCacheClasses()
        Whether to cache generated proxy classes if possible. Default is true
      • errorHandler

        public ErrorHandler errorHandler()
        Global error handler, which will be used in the absence of per-service error handler
      • pollingThreads

        public RessorConfig pollingThreads​(int pollingThreads)
      • threadPool

        public RessorConfig threadPool​(java.util.concurrent.ExecutorService threadPool)
      • cacheClasses

        public RessorConfig cacheClasses​(boolean cacheClasses)