Package org.kie.api.conf

## Class SessionsPoolOption

- java.lang.Object
- - org.kie.api.conf.SessionsPoolOption

- All Implemented Interfaces:
    `Serializable`, `KieBaseOption`, `Option`, `SingleValueKieBaseOption`

      public class SessionsPoolOption
      extends Object
      implements SingleValueKieBaseOption

  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static SessionsPoolOption` | `NO` |
    `static String` | `PROPERTY_NAME` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `equals​(Object obj)` |
    `static SessionsPoolOption` | `get​(int size)` |
    `String` | `getPropertyName()` |
    `int` | `getSize()` | Returns the size of the session pool
    `int` | `hashCode()` |
    `String` | `toString()` |

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### PROPERTY_NAME

          public static final String PROPERTY_NAME

      See Also:
        Constant Field Values

    - #### NO

          public static final SessionsPoolOption NO

  - ### Method Detail

    - #### get

          public static SessionsPoolOption get​(int size)

    - #### getPropertyName

          public String getPropertyName()

      Specified by:
        `getPropertyName` in interface `Option`
      Returns:
        the property name for this option

    - #### getSize

          public int getSize()

      Returns the size of the session pool
      Returns:

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### equals

          public boolean equals​(Object obj)

      Overrides:
        `equals` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`