public class DurableClientAttributes
extends java.lang.Object
DurableClientAttributes represents durable member
attributes.| Constructor and Description |
|---|
DurableClientAttributes() |
DurableClientAttributes(java.lang.String id,
int timeout)
Constructor.
|
| 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
|
public DurableClientAttributes()
public DurableClientAttributes(java.lang.String id,
int timeout)
id - The id of the durable client.timeout - The timeout period of the durable client.public java.lang.String getId()
public int getTimeout()
public void updateTimeout(int newValue)
public void setPoolName(java.lang.String poolName)
public java.lang.String getPoolName()
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object