public static enum SimpleDiskCacheEntry.UpdateMode extends Enum<SimpleDiskCacheEntry.UpdateMode>
| Modifier and Type | Method and Description |
|---|---|
long |
getExpireMillis() |
long |
getExpireSeconds() |
static SimpleDiskCacheEntry.UpdateMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimpleDiskCacheEntry.UpdateMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleDiskCacheEntry.UpdateMode NEVER
public static final SimpleDiskCacheEntry.UpdateMode ALWAYS
public static final SimpleDiskCacheEntry.UpdateMode HOURLY
public static final SimpleDiskCacheEntry.UpdateMode DAILY
public static final SimpleDiskCacheEntry.UpdateMode WEEKLY
public static SimpleDiskCacheEntry.UpdateMode[] values()
for (SimpleDiskCacheEntry.UpdateMode c : SimpleDiskCacheEntry.UpdateMode.values()) System.out.println(c);
public static SimpleDiskCacheEntry.UpdateMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic long getExpireMillis()
public long getExpireSeconds()
Copyright © 2016 Github jjYBdx4IL Projects. All rights reserved.