com.scaleoutsoftware.soss.client
Class CachedObjectId<T>
java.lang.Object
com.scaleoutsoftware.soss.client.CachedObjectId<T>
- All Implemented Interfaces:
- Serializable
public final class CachedObjectId<T>
- extends Object
- implements Serializable
This class represents the object id in the Java SOSS NamedCache.
- See Also:
- Serialized Form
|
Constructor Summary |
CachedObjectId(com.scaleoutsoftware.soss.client.da.StateServerKey key)
Creates a CachedObjectId from StateServerKey. |
CachedObjectId
public CachedObjectId(com.scaleoutsoftware.soss.client.da.StateServerKey key)
- Creates a CachedObjectId from StateServerKey.
- Parameters:
key - StateServerKey
getKey
public com.scaleoutsoftware.soss.client.da.StateServerKey getKey()
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
getKeyString
public String getKeyString()
throws NamedCacheException
- Retrieves the original (unhashed) string used as a key to a StateServer
object.
- Returns:
- an original key string
- Throws:
NamedCacheException
Copyright (C) 2007-2012 ScaleOut Software, Inc.