Class ExecutorProperties


  • public class ExecutorProperties
    extends Object
    Configuration properties for a single executor.
    Since:
    2.0.0
    Author:
    Rutger Lubbers, Paul Klos
    • Constructor Detail

      • ExecutorProperties

        public ExecutorProperties()
    • Method Detail

      • getName

        public String getName()
        Getter for name.
        Returns:
        the name
      • setName

        public void setName​(String name)
        Setter for name.
        Parameters:
        name - the name
      • getCorePoolSize

        public Integer getCorePoolSize()
        Getter for core pool size.
        Returns:
        the core pool size
      • setCorePoolSize

        public void setCorePoolSize​(Integer corePoolSize)
        Setter for core pool size.
        Parameters:
        corePoolSize - the core pool size
      • getKeepAliveTime

        public Integer getKeepAliveTime()
        Getter for keep-alive time.
        Returns:
        the keep-alive time
      • setKeepAliveTime

        public void setKeepAliveTime​(Integer keepAliveTime)
        Setter for keep-alive time.
        Parameters:
        keepAliveTime - the keep-alive time
      • getMaxPendingRequests

        public Integer getMaxPendingRequests()
        Getter for max pending requests.
        Returns:
        the max pending requests
      • setMaxPendingRequests

        public void setMaxPendingRequests​(Integer maxPendingRequests)
        Setter for name.
        Parameters:
        maxPendingRequests - the max pending requests
      • getMaxPoolSize

        public Integer getMaxPoolSize()
        Getter for max pool size.
        Returns:
        the max pool size
      • setMaxPoolSize

        public void setMaxPoolSize​(Integer maxPoolSize)
        Setter for max pool size.
        Parameters:
        maxPoolSize - the max pool size