<< Click to Display Table of Contents >>

SortProperties

This class provides methods related to getCacheConfiguration and setCacheConfiguration.


Method Detail

get

public synchronized Object get(String key)

Gets the value of the key.

Parameters:

key - Name of key

getProperty

public synchronized String getProperty(String key)

Gets the value of the key.

Parameters:

key - Name of key

setProperty

public synchronized Object setProperty(String key, String value)

Sets the value of the key.

Parameters:

key - Name of the key

value - Value of the key

put

public synchronized Object put(Object key, Object value)

Sets value of the key.

Parameters:

key - Name of the key

value - Value of the key


The keys that can be set are as follows:

key

Description

Active

Whether to use cache key

CACHE_FILE_PATH

Cache storage path

DM_CACHE_FILE_PATH

Data Module cache storage path

memoryCacheValidTime

Memory cache timeout(unit: seconds)

diskCacheValidTime

Disk Cache Timeout (unit: seconds)

FreeMemoryPercentage

Free memory percentage