public class DurableClientAttributes extends Object
DurableClientAttributes
represents durable member attributes.Constructor and Description |
---|
DurableClientAttributes() |
DurableClientAttributes(String id,
int timeout)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
String |
getId()
Returns the durable client's id.
|
String |
getPoolName() |
int |
getTimeout()
Returns the durable client's timeout.
|
int |
hashCode() |
void |
setPoolName(String poolName) |
String |
toString() |
void |
updateTimeout(int newValue)
Used to update the timeout when a durable client comes back to a server
|
public DurableClientAttributes()
public DurableClientAttributes(String id, int timeout)
id
- The id of the durable client.timeout
- The timeout period of the durable client.public String getId()
public int getTimeout()
public void updateTimeout(int newValue)
newValue
- the new timeout valuepublic void setPoolName(String poolName)
public String getPoolName()