|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.flex.CmsFlexCacheConfiguration
public class CmsFlexCacheConfiguration
Flex Cache configuration class.
| Constructor Summary | |
|---|---|
CmsFlexCacheConfiguration()
Empty public constructor for the digester. |
|
| Method Summary | |
|---|---|
long |
getAvgCacheBytes()
Returns the average cache bytes. |
I_CmsJspDeviceSelector |
getDeviceSelector()
Returns the deviceSelector. |
String |
getDeviceSelectorConfiguration()
Returns the device selector configuration. |
long |
getMaxCacheBytes()
Returns the maxCacheBytes. |
int |
getMaxEntryBytes()
Returns the maxEntryBytes. |
int |
getMaxKeys()
Returns the maxKeys. |
void |
initialize(String enabled,
String offline,
String maxCacheBytes,
String avgCacheBytes,
String maxEntryBytes,
String maxKeys)
Initializes the flex cache configuration with required parameters. |
boolean |
isCacheEnabled()
Checks if flexcache is enabled or not. |
boolean |
isCacheOffline()
Checks the cacheOffline. |
void |
setAvgCacheBytes(long avgCacheBytes)
Sets the avgCacheBytes. |
void |
setCacheEnabled(boolean enabled)
Sets the enabled. |
void |
setCacheOffline(boolean cacheOffline)
Sets the cacheOffline. |
void |
setDeviceSelectorConfiguration(String deviceSelector)
Sets the device selector configuration. |
void |
setMaxCacheBytes(long maxCacheBytes)
Sets the maxCacheBytes. |
void |
setMaxEntryBytes(int maxEntryBytes)
Sets the maxEntryBytes. |
void |
setMaxKeys(int maxKeys)
Sets the maxKeys. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsFlexCacheConfiguration()
| Method Detail |
|---|
public long getAvgCacheBytes()
public I_CmsJspDeviceSelector getDeviceSelector()
public String getDeviceSelectorConfiguration()
public long getMaxCacheBytes()
public int getMaxEntryBytes()
public int getMaxKeys()
public void initialize(String enabled,
String offline,
String maxCacheBytes,
String avgCacheBytes,
String maxEntryBytes,
String maxKeys)
enabled - enables or disable the flexcacheoffline - enable the flexcache for the offline projectmaxCacheBytes - the max bytes for cacheavgCacheBytes - the average bytes for cachemaxEntryBytes - the max bytes for entrymaxKeys - the max keyspublic boolean isCacheEnabled()
public boolean isCacheOffline()
public void setAvgCacheBytes(long avgCacheBytes)
avgCacheBytes - the avgCacheBytes to setpublic void setCacheEnabled(boolean enabled)
enabled - the enabled to setpublic void setCacheOffline(boolean cacheOffline)
cacheOffline - the cacheOffline to setpublic void setDeviceSelectorConfiguration(String deviceSelector)
deviceSelector - the device selector to setpublic void setMaxCacheBytes(long maxCacheBytes)
maxCacheBytes - the maxCacheBytes to setpublic void setMaxEntryBytes(int maxEntryBytes)
maxEntryBytes - the maxEntryBytes to setpublic void setMaxKeys(int maxKeys)
maxKeys - the maxKeys to set
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||