Class TicketRegistryCoreProperties
java.lang.Object
org.apereo.cas.configuration.model.core.ticket.registry.TicketRegistryCoreProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-core-tickets",
automated=true)
public class TicketRegistryCoreProperties
extends Object
implements Serializable
This is
TicketRegistryCoreProperties
.- Since:
- 6.5.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionIdentifier for this CAS server node that tags the sender/receiver in the queue and avoid processing of inbound calls.boolean
When set to true, registry operations will begin to support distributed locking for ticket operations.setEnableLocking
(boolean enableLocking) When set to true, registry operations will begin to support distributed locking for ticket operations.setQueueIdentifier
(String queueIdentifier) Identifier for this CAS server node that tags the sender/receiver in the queue and avoid processing of inbound calls.
-
Constructor Details
-
TicketRegistryCoreProperties
public TicketRegistryCoreProperties()
-
-
Method Details
-
isEnableLocking
public boolean isEnableLocking()When set to true, registry operations will begin to support distributed locking for ticket operations. If the registry itself supports distributed locking, such as JDBC or Redis, then the lock implementation will defer to that option. Otherwise the default locking solution will be specific to a CAS server node, until replaced with a lock implementation or different locking option separate from the registry technology itself. -
getQueueIdentifier
Identifier for this CAS server node that tags the sender/receiver in the queue and avoid processing of inbound calls. If left blank, an identifier is generated automatically and kept in memory. -
setEnableLocking
When set to true, registry operations will begin to support distributed locking for ticket operations. If the registry itself supports distributed locking, such as JDBC or Redis, then the lock implementation will defer to that option. Otherwise the default locking solution will be specific to a CAS server node, until replaced with a lock implementation or different locking option separate from the registry technology itself.- Returns:
this
.
-
setQueueIdentifier
Identifier for this CAS server node that tags the sender/receiver in the queue and avoid processing of inbound calls. If left blank, an identifier is generated automatically and kept in memory.- Returns:
this
.
-