com.scaleoutsoftware.soss.client
Class CachedObjectId<T>

java.lang.Object
  extended by 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.
 
Method Summary
 boolean equals(Object o)
           
 com.scaleoutsoftware.soss.client.da.StateServerKey getKey()
           
 String getKeyString()
          Retrieves the original (unhashed) string used as a key to a StateServer object.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CachedObjectId

public CachedObjectId(com.scaleoutsoftware.soss.client.da.StateServerKey key)
Creates a CachedObjectId from StateServerKey.

Parameters:
key - StateServerKey
Method Detail

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.