com.sun.xml.ws.commons.ha
Class StickyKey

java.lang.Object
  extended by com.sun.xml.ws.commons.ha.StickyKey
All Implemented Interfaces:
Serializable, HashableKey

public class StickyKey
extends Object
implements HashableKey, Serializable

Author:
Marek Potociar (marek.potociar at sun.com)
See Also:
Serialized Form

Constructor Summary
StickyKey(Serializable key)
           
StickyKey(Serializable key, String hashKey)
           
 
Method Summary
 boolean equals(Object that)
           
 String getHashKey()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StickyKey

public StickyKey(Serializable key,
                 String hashKey)

StickyKey

public StickyKey(Serializable key)
Method Detail

getHashKey

public String getHashKey()
Specified by:
getHashKey in interface HashableKey

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.