Class StreamServicesHazelcastProperties
java.lang.Object
org.apereo.cas.configuration.model.support.services.stream.BaseStreamServicesProperties
org.apereo.cas.configuration.model.support.services.stream.hazelcast.StreamServicesHazelcastProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-support-service-registry-stream-hazelcast")
public class StreamServicesHazelcastProperties
extends BaseStreamServicesProperties
This is
StreamServicesHazelcastProperties
.- Since:
- 5.2.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionConfiguration of the hazelcast instance to queue and stream items.Duration that indicates how long should items be kept in the hazelcast cache.setConfig
(BaseHazelcastProperties config) Configuration of the hazelcast instance to queue and stream items.setDuration
(String duration) Duration that indicates how long should items be kept in the hazelcast cache.
-
Constructor Details
-
StreamServicesHazelcastProperties
public StreamServicesHazelcastProperties()
-
-
Method Details
-
getDuration
Duration that indicates how long should items be kept in the hazelcast cache. Note that generally this number needs to be short as once an item is delivered to a target, it is explicitly removed from the cache/queue. This duration needs to be adjusted if the latency between the CAS nodes in the cluster is too large. Having too short a value will cause the record to expire before it reaches other members of the cluster. -
getConfig
Configuration of the hazelcast instance to queue and stream items. -
setDuration
Duration that indicates how long should items be kept in the hazelcast cache. Note that generally this number needs to be short as once an item is delivered to a target, it is explicitly removed from the cache/queue. This duration needs to be adjusted if the latency between the CAS nodes in the cluster is too large. Having too short a value will cause the record to expire before it reaches other members of the cluster.- Returns:
this
.
-
setConfig
Configuration of the hazelcast instance to queue and stream items.- Returns:
this
.
-