|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hyperic.util.collection.ExpireMap.Value
public class ExpireMap.Value
This is the class used as value to the ExpireMap class
| Constructor Summary | |
|---|---|
ExpireMap.Value(java.lang.Object value)
No expiration constructor |
|
ExpireMap.Value(java.lang.Object value,
long expiration)
Constructor with expiration (offset from current time) |
|
| Method Summary | |
|---|---|
long |
getExpiration()
|
java.lang.Object |
getValue()
|
boolean |
hasExpired()
Check if key has expired |
void |
setExpiration(long l)
|
void |
setValue(java.lang.Object object)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExpireMap.Value(java.lang.Object value)
value - the actual value
public ExpireMap.Value(java.lang.Object value,
long expiration)
value - the actual valueexpiration - the offset from current time| Method Detail |
|---|
public boolean hasExpired()
public long getExpiration()
public void setExpiration(long l)
l - the new expiration timepublic java.lang.Object getValue()
public void setValue(java.lang.Object object)
object - the new value object
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||