Class InMemoryTicketRegistryProperties
java.lang.Object
org.apereo.cas.configuration.model.core.ticket.registry.InMemoryTicketRegistryProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-core-tickets",
automated=true)
public class InMemoryTicketRegistryProperties
extends Object
implements Serializable
This is
InMemoryTicketRegistryProperties
.- Since:
- 6.4.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
The estimated number of concurrently updating threads.Crypto settings for the registry.int
The initial capacity of the underlying memory store.int
The load factor threshold, used to control resizing.boolean
isCache()
Allow the ticket registry to cache ticket items for period of time and auto-evict and clean up, removing the need to running a ticket registry cleaner in the background.void
setCache
(boolean cache) Allow the ticket registry to cache ticket items for period of time and auto-evict and clean up, removing the need to running a ticket registry cleaner in the background.void
setConcurrency
(int concurrency) The estimated number of concurrently updating threads.void
Crypto settings for the registry.void
setInitialCapacity
(int initialCapacity) The initial capacity of the underlying memory store.void
setLoadFactor
(int loadFactor) The load factor threshold, used to control resizing.
-
Constructor Details
-
InMemoryTicketRegistryProperties
public InMemoryTicketRegistryProperties()
-
-
Method Details
-
isCache
public boolean isCache()Allow the ticket registry to cache ticket items for period of time and auto-evict and clean up, removing the need to running a ticket registry cleaner in the background. -
getInitialCapacity
public int getInitialCapacity()The initial capacity of the underlying memory store. The implementation performs internal sizing to accommodate this many elements. -
getLoadFactor
public int getLoadFactor()The load factor threshold, used to control resizing. Resizing may be performed when the average number of elements per bin exceeds this threshold. -
getConcurrency
public int getConcurrency()The estimated number of concurrently updating threads. The implementation performs internal sizing to try to accommodate this many threads. -
getCrypto
Crypto settings for the registry. -
setCache
public void setCache(boolean cache) Allow the ticket registry to cache ticket items for period of time and auto-evict and clean up, removing the need to running a ticket registry cleaner in the background. -
setInitialCapacity
public void setInitialCapacity(int initialCapacity) The initial capacity of the underlying memory store. The implementation performs internal sizing to accommodate this many elements. -
setLoadFactor
public void setLoadFactor(int loadFactor) The load factor threshold, used to control resizing. Resizing may be performed when the average number of elements per bin exceeds this threshold. -
setConcurrency
public void setConcurrency(int concurrency) The estimated number of concurrently updating threads. The implementation performs internal sizing to try to accommodate this many threads. -
setCrypto
Crypto settings for the registry.
-