|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.wanghy.cache.provider.oscache.OscacheCacheProfile
Set of configuration options needed for:
| Field Summary | |
private String |
cronExpression
A cron expression that the age of the cache entry will be compared to. |
private String[] |
groups
The groups that the object to cache belongs to. |
private Integer |
refreshPeriod
How long the object can stay in cache in seconds. |
private static long |
serialVersionUID
Version number of this class. |
| Constructor Summary | |
OscacheCacheProfile()
Constructor. |
|
| Method Summary | |
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one. |
String |
getCronExpression()
Getter for field . |
String[] |
getGroups()
Getter for field . |
Integer |
getRefreshPeriod()
Getter for field . |
int |
hashCode()
Returns a hash code value for the object. |
void |
setCronExpression(String cronExpression)
Setter for the field . |
void |
setGroups(String csvGroups)
Sets the cache groups from a comma-delimited list of values. |
void |
setGroups(String[] groups)
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 cronExpression
private String[] groups
private Integer refreshPeriod
| Constructor Detail |
public OscacheCacheProfile()
| 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.Object.equals(java.lang.Object)public final String getCronExpression()
cronExpression.
cronExpression.public final String[] getGroups()
groups.
groups.public final Integer getRefreshPeriod()
refreshPeriod.
refreshPeriod.public int hashCode()
java.util.Hashtable.
Object.hashCode()public final void setCronExpression(String cronExpression)
cronExpression.
cronExpression - the new value to set.public final void setGroups(String csvGroups)
csvGroups - the comma-delimited list of values containing the cache groups.public final void setGroups(String[] groups)
groups.
groups - the new value to set.public final void setRefreshPeriod(int refreshPeriod)
refreshPeriod.
refreshPeriod - the new value to set.public final void setRefreshPeriod(Integer refreshPeriod)
refreshPeriod.
refreshPeriod - the new value to set.public String toString()
toString method returns a string that "textually represents"
this object.
Object.toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||