com.alachisoft.ncache.runtime.caching
Class Tag
java.lang.Object
com.alachisoft.ncache.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)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Tag
public Tag(java.lang.String tag)
getTagName
public java.lang.String getTagName()
setTagName
public void setTagName(java.lang.String tag)
ToString
public java.lang.String ToString()