Package org.apache.geode.distributed
Class DurableClientAttributes
java.lang.Object
org.apache.geode.distributed.DurableClientAttributes
Class
DurableClientAttributes represents durable member attributes.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()Returns the durable client's id.intReturns the durable client's timeout.inthashCode()voidsetPoolName(String poolName) toString()voidupdateTimeout(int newValue) Used to update the timeout when a durable client comes back to a server
-
Constructor Details
-
DurableClientAttributes
public DurableClientAttributes() -
DurableClientAttributes
Constructor.- Parameters:
id- The id of the durable client.timeout- The timeout period of the durable client.
-
-
Method Details
-
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- Parameters:
newValue- the new timeout value
-
setPoolName
-
getPoolName
-
equals
-
hashCode
public int hashCode() -
toString
-