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