ilog.rules.res.session.config

Interface IlrPoolConfig



  • public interface IlrPoolConfig
    Represents a pool configuration.
    Since:
    8.0
    • Method Detail

      • getMaxSize

        int getMaxSize()
        Returns:
        the maximum size of the pool
      • setMaxSize

        void setMaxSize(int size)
        Parameters:
        size - the new maximum size of the pool.
        Value -1 means an unlimited pool.
        Value 0 means that the resources will not be pooled: a new resource instance will be created when necessary.
      • getWaitTimeout

        long getWaitTimeout()
        Returns:
        the time in milliseconds during which the process waits for a resource to become available.
      • setWaitTimeout

        void setWaitTimeout(long t)
        Parameters:
        t - the new time in milliseconds during which the process waits for a resource to become available.

© Copyright IBM Corp. 1987, 2020