com.alachisoft.jvcache.runtime.caching
Class Tag

java.lang.Object
  extended by com.alachisoft.jvcache.runtime.caching.Tag

public class Tag
extends java.lang.Object

Represents an string based identifier that can be associated with the cache items so that they are logically grouped together and can be retrieved efficiently. One or more tags can be associated with each cache item. To create an instance of Tag class you can use code as follows: Tag tag = new Tag("Alpha");


Constructor Summary
Tag(java.lang.String tag)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getHashCode()
           
 java.lang.String getTagName()
           
 void setTagName(java.lang.String tag)
           
 java.lang.String ToString()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tag

public Tag(java.lang.String tag)
Parameters:
tag -
Method Detail

getTagName

public java.lang.String getTagName()
Returns:

setTagName

public void setTagName(java.lang.String tag)
Parameters:
tag -

ToString

public java.lang.String ToString()
Returns:

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getHashCode

public int getHashCode()
Returns: