|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.api.core.annotations.PropertyLifecycle.UpdateInterval
public static final class PropertyLifecycle.UpdateInterval
Defines constants for the PropertyLifecycle.updateInterval()
.
Field Summary | |
---|---|
static long |
FIVE_MINUTES Defines a standard update interval of five minutes. |
static long |
NO_AUTOMATIC_UPDATE The constant to use to indicate that there is no automatic update. |
static long |
NO_CACHING The constant to use to indicate that the value should never be cached. |
static long |
ONE_DAY Defines a standard update interval of one day. |
static long |
ONE_HOUR Defines a standard update interval of one hour. |
static long |
ONE_MINUTE Defines a standard update interval of one minute. |
static long |
ONE_SECOND Defines a standard update interval of one second. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long NO_AUTOMATIC_UPDATE
This is the default value for a read-only property. If the property is read-write this value states that the value is only manually updated. This requires client code to invalidate the value in the cache. This may be a reasonable approach if a value is seldom changed, but when changed should be enforced as soon as possible.
-1L
public static final long NO_CACHING
0L
public static final long ONE_SECOND
1000L
public static final long ONE_MINUTE
60000L
public static final long FIVE_MINUTES
300000L
public static final long ONE_HOUR
3600000L
public static final long ONE_DAY
86400000L
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |