org.apache.geode.distributed

## Class DurableClientAttributes

- java.lang.Object
- - org.apache.geode.distributed.DurableClientAttributes

-     public class DurableClientAttributes
      extends java.lang.Object

  Class `DurableClientAttributes` represents durable member attributes.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DurableClientAttributes()`
    `DurableClientAttributes(java.lang.String id, int timeout)` Constructor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(java.lang.Object other)`
    `java.lang.String` | `getId()` Returns the durable client's id.
    `java.lang.String` | `getPoolName()`
    `int` | `getTimeout()` Returns the durable client's timeout.
    `int` | `hashCode()`
    `void` | `setPoolName(java.lang.String poolName)`
    `java.lang.String` | `toString()`
    `void` | `updateTimeout(int newValue)` Used to update the timeout when a durable client comes back to a server

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

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

- - ### Constructor Detail

    - #### DurableClientAttributes

          public DurableClientAttributes()

    - #### DurableClientAttributes

          public DurableClientAttributes(java.lang.String id,
                                         int timeout)

      Constructor.
      Parameters:
        `id` - The id of the durable client.
        `timeout` - The timeout period of the durable client.

  - ### Method Detail

    - #### getId

          public java.lang.String getId()

      Returns the durable client's id.
      Returns:
        the durable client's id

    - #### getTimeout

          public int getTimeout()

      Returns the durable client's timeout.
      Returns:
        the durable client's timeout

    - #### updateTimeout

          public void updateTimeout(int newValue)

      Used to update the timeout when a durable client comes back to a server

    - #### setPoolName

          public void setPoolName(java.lang.String poolName)

    - #### getPoolName

          public java.lang.String getPoolName()

    - #### equals

          public boolean equals(java.lang.Object other)

      Overrides:
        `equals` in class `java.lang.Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `java.lang.Object`

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`