VMware GemFire Java API Reference
Package org.apache.geode.distributed
Class DurableClientAttributes
- java.lang.Object
-
- org.apache.geode.distributed.DurableClientAttributes
-
public class DurableClientAttributes extends java.lang.ObjectClassDurableClientAttributesrepresents durable member attributes.
-
-
Constructor Summary
Constructors Constructor Description DurableClientAttributes()DurableClientAttributes(java.lang.String id, int timeout)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)java.lang.StringgetId()Returns the durable client's id.java.lang.StringgetPoolName()intgetTimeout()Returns the durable client's timeout.inthashCode()voidsetPoolName(java.lang.String poolName)java.lang.StringtoString()voidupdateTimeout(int newValue)Used to update the timeout when a durable client comes back to a server
-
-
-
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- Parameters:
newValue- the new timeout value
-
setPoolName
public void setPoolName(java.lang.String poolName)
-
getPoolName
public java.lang.String getPoolName()
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-