public class Config
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_COOKIE_NAME
The default cookie name that the client side properties would be set to.
|
static int |
DEFAULT_MAX_CACHE_ENTRIES
The default config value for result (Properties object) caching.
|
| Constructor and Description |
|---|
Config() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCookieName()
Get the cookie name that the client side properties would be set to.
|
int |
getMaxCacheEntries()
Get the max number of results to be cached.
|
void |
setCookieName(java.lang.String cookieName)
To change the cookie name that the client side properties would be set to.
|
void |
setMaxCacheEntries(int maxCacheEntries)
Set the max number of results to be cached.
|
public static final java.lang.String DEFAULT_COOKIE_NAME
public static final int DEFAULT_MAX_CACHE_ENTRIES
public void setCookieName(java.lang.String cookieName)
cookieName - The cookie name which the client side properties are set to.
Set to null to turn off using client side properties.public java.lang.String getCookieName()
public void setMaxCacheEntries(int maxCacheEntries)
maxCacheEntries - public int getMaxCacheEntries()
Copyright © 2023 DeviceAtlas Limited. All rights reserved.