All Downloads are FREE. Search and download functionalities are using the official Maven repository.

schemas.schema-form.json Maven / Gradle / Ivy

Go to download

The resource is used to maintain a cache and link it to the API lifecycle. It means that the cache is initialized when the API is starting and released when API is stopped.

The newest version!
{
    "type": "object",
    "$schema": "http://json-schema.org/draft-07/schema#",
    "properties": {
        "timeToIdleSeconds": {
            "title": "Time to idle (in seconds)",
            "type": "integer",
            "description": "The maximum number of seconds an element can exist in the cache without being accessed. The element expires at this limit and will no longer be returned from the cache. The default value is 0, which means no timeToIdle (TTI) eviction takes place (infinite lifetime).",
            "default": 0,
            "minimum": 0
        },
        "timeToLiveSeconds": {
            "title": "Time to live (in seconds)",
            "type": "integer",
            "description": "The maximum number of seconds an element can exist in the cache regardless of use. The element expires at this limit and will no longer be returned from the cache. The default value is 0, which means no timeToLive (TTL) eviction takes place (infinite lifetime).",
            "default": 0,
            "minimum": 0
        },
        "maxEntriesLocalHeap": {
            "title": "Max entries on heap",
            "description": "The maximum objects to be held in local heap memory (0 = no limit).",
            "type": "integer",
            "default": 1000,
            "minimum": 0
        }
    },
    "required": ["timeToIdleSeconds", "maxEntriesLocalHeap", "timeToLiveSeconds"]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy