|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.wanghy.cache.provider.lru.LruCacheProfile
Set of configuration options needed for:
Field Summary | |
private String |
group
The group the object to cache belongs to. |
private int |
refreshPeriod
How long an entry can stay in the cache (in seconds). |
private static long |
serialVersionUID
Version number of this class. |
Constructor Summary | |
LruCacheProfile()
Constructor. |
Method Summary | |
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one. |
String |
getGroup()
Getter for field . |
int |
getRefreshPeriod()
Getter for field . |
int |
hashCode()
Returns a hash code value for the object. |
void |
setGroup(String group)
Setter for the field . |
void |
setRefreshPeriod(int refreshPeriod)
Setter for the field . |
void |
setRefreshPeriod(Integer refreshPeriod)
Setter for the field . |
String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
Serializable
,
Constant Field Valuesprivate String group
private int refreshPeriod
Constructor Detail |
public LruCacheProfile()
Method Detail |
public boolean equals(Object obj)
obj
- the reference object with which to compare.
true
if this object is the same as the obj argument;
false
otherwise.hashCode()
public final String getGroup()
group
.
group
.public final int getRefreshPeriod()
refreshPeriod
.
refreshPeriod
.public int hashCode()
java.util.Hashtable
.
public final void setGroup(String group)
group
.
group
- the new value to setpublic final void setRefreshPeriod(int refreshPeriod)
refreshPeriod
.
refreshPeriod
- the new value to setpublic final void setRefreshPeriod(Integer refreshPeriod)
refreshPeriod
.
refreshPeriod
- the new value to setpublic String toString()
toString
method returns a string that "textually represents"
this object.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |