GemFire 6.6.4

com.gemstone.gemfire.distributed
Class DurableClientAttributes

java.lang.Object
  extended by com.gemstone.gemfire.distributed.DurableClientAttributes

public class DurableClientAttributes
extends Object

Class DurableClientAttributes represents durable member attributes.


Constructor Summary
DurableClientAttributes()
           
DurableClientAttributes(String id, int timeout)
          Constructor.
 
Method Summary
 boolean equals(Object other)
           
 String getId()
          Returns the durable client's id.
 int getTimeout()
          Returns the durable client's timeout.
 int hashCode()
           
 String toString()
           
 void updateTimeout(int newValue)
          Used to update the timeout when a durable client comes back to a server
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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


equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

GemFire 6.6.4

Copyright © 1997-2012 VMware, Inc. All rights reserved.