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

Hazelcast Properties

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

Contents


More Related Answers

  • Hazelcast Spring Boot Config
  • Hazelcast
  • config map-store hazelcast
  • Hazelcast Setup

  • Hazelcast Properties

    0

    1. cache name: The unique name of the cache.

    2. eviction:

    • size: The maximum number of elements in the cache before eviction occurs. The value is a

    positive integer.

    • max-size-policy: The cache size policy. The possible values are ENTRY_COUNT,

    USED_HEAP_SIZE, and USED_HEAP_PERCENTAGE.

    • eviction-policy: The eviction policy for the cache. The possible values are LRU (Least Recently

    Used), LFU (Least Frequently Used), RANDOM, and NONE.

    3. expiry-policy-factory: Configures the cache's expiration policy.

    • timed-expiry-policy-factory: A factory for creating a timed expiry policy.

    • expiry-policy-type: The type of expiry policy. Possible values are CREATED, ACCESSED,

    MODIFIED, and TOUCHED. CREATED expires based on the creation time, ACCESSED

    expires based on the last access time, MODIFIED expires based on the last modification time,

    and TOUCHED expires based on the last access or modification time.

    • duration-amount: The duration amount for the expiry policy. The value is a positive integer.

    • time-unit: The time unit for the duration amount. Possible values are NANOSECONDS,

    MICROSECONDS, MILLISECONDS, SECONDS, MINUTES, HOURS, and DAYS. 

    Popularity 2/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.