public class CachingOptions extends Object
expireAfter and refreshFrequency
are expressed in ticks.| Modifier and Type | Field and Description |
|---|---|
static CachingOptions |
DEFAULT_CACHING_OPTIONS |
| Constructor and Description |
|---|
CachingOptions() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doCaching() |
boolean |
equals(Object o) |
long |
getExpireAfter() |
long |
getRefreshFrequency() |
int |
hashCode() |
void |
setDoCaching(boolean doCaching) |
void |
setExpireAfter(long expireAfter) |
void |
setRefreshFrequency(long refreshFrequency) |
public static final CachingOptions DEFAULT_CACHING_OPTIONS
public boolean doCaching()
public void setDoCaching(boolean doCaching)
public long getExpireAfter()
public void setExpireAfter(long expireAfter)
public long getRefreshFrequency()
public void setRefreshFrequency(long refreshFrequency)
Copyright © 2018 CrafterCMS. All rights reserved.