Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

EHCache Properties

Sumit Rawal answered on May 9, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers


EHCache Properties

0

name: The unique name of the cache.

• maxElementsInMemory: The maximum number of elements that can be stored in memory. Once this

limit is reached, elements can be evicted or overflow to disk, depending on the configuration. The

value is a positive integer.

• eternal: A boolean value that indicates whether the elements in the cache should never expire. If set

to true, the timeToIdleSeconds and timeToLiveSeconds attributes are ignored. The value is either true

or false.

• timeToIdleSeconds: The maximum number of seconds an element can be idle (not accessed) before

it expires. A value of 0 means there's no limit on the idle time. The value is a non-negative integer.

• timeToLiveSeconds: The maximum number of seconds an element can exist in the cache,

regardless of idle time. A value of 0 means there's no limit on the element's lifespan. The value is a

non-negative integer.

• overflowToDisk: A boolean value that indicates whether elements can be moved from memory to

disk when the maxElementsInMemory limit is reached. This attribute is deprecated in EHCache 2.10

and removed in EHCache 3.x. Instead, you should use the diskPersistent attribute or configure a

disk store element. The value is either true or false. 

Popularity 1/10 Helpfulness 1/10 Language whatever
Source: Grepper
Link to this answer
Share Copy Link
Contributed on May 09 2023
Sumit Rawal
0 Answers  Avg Quality 2/10


X

Continue with Google

By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
X
Grepper Account Login Required

Oops, You will need to install Grepper and log-in to perform this action.