public class JCacheIdentifier extends Object implements ExternalizableLite, PortableObject
| Constructor and Description |
|---|
JCacheIdentifier()
Constructs
JCacheIdentifier |
JCacheIdentifier(String sCanonicalCacheName)
Constructs
JCacheIdentifier from the internal encoded CoherenceBased cache map name. |
JCacheIdentifier(String sMgrUri,
String sCacheName)
Constructs
JCacheIdentifier |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getCacheManagerURI()
Get the JCache CacheManager URI, a unique identifier for the JCache CacheManager
|
String |
getCanonicalCacheName()
Get the JCache Adapter internal name for this
JCacheIdentifier |
String |
getName()
Get the JCache map name
|
int |
hashCode() |
void |
readExternal(DataInput dataInput)
Restore the contents of this object by loading the object's state from
the passed DataInput object.
|
void |
readExternal(PofReader pofReader)
Restore the contents of a user type instance by reading its state using
the specified PofReader object.
|
String |
toString() |
void |
writeExternal(DataOutput dataOutput)
Save the contents of this object by storing the object's state into
the passed DataOutput object.
|
void |
writeExternal(PofWriter pofWriter)
Save the contents of a POF user type instance by writing its state using
the specified PofWriter object.
|
public JCacheIdentifier()
JCacheIdentifierpublic JCacheIdentifier(String sCanonicalCacheName)
JCacheIdentifier from the internal encoded CoherenceBased cache map name.sCanonicalCacheName - canonical encoded CoherenceBased cache map name. Name encodes JCache Adapter
CacheManager URI, the JCache Adapter implementation type for the JCache map.
and the JCache Adapter JCache name.public JCacheIdentifier(String sMgrUri, String sCacheName)
JCacheIdentifiersMgrUri - unique identifier for CacheManagersCacheName - JCache namepublic String getName()
public String getCacheManagerURI()
CacheManager URI contextpublic String getCanonicalCacheName()
JCacheIdentifierpublic void readExternal(PofReader pofReader) throws IOException
PortableObjectreadExternal in interface PortableObjectpofReader - the PofReader from which to read the object's stateIOException - if an I/O error occurspublic void writeExternal(PofWriter pofWriter) throws IOException
PortableObjectwriteExternal in interface PortableObjectpofWriter - the PofWriter to which to write the object's stateIOException - if an I/O error occurspublic void readExternal(DataInput dataInput) throws IOException
ExternalizableLitereadExternal in interface ExternalizableLitedataInput - the DataInput stream to read data from in order to restore
the state of this objectIOException - if an I/O exception occursNotActiveException - if the object is not in its initial
state, and therefore cannot be deserialized intopublic void writeExternal(DataOutput dataOutput) throws IOException
ExternalizableLitewriteExternal in interface ExternalizableLitedataOutput - the DataOutput stream to write the state of this object toIOException - if an I/O exception occurs