Package akka.cluster.sharding
Class ClusterShardingSettings.PassivationStrategySettings
- java.lang.Object
-
- akka.cluster.sharding.ClusterShardingSettings.PassivationStrategySettings
-
- Enclosing class:
- ClusterShardingSettings
public static final class ClusterShardingSettings.PassivationStrategySettings extends java.lang.Object
API MAY CHANGE: Settings for passivation strategies may change after additional testing and feedback.
-
-
Constructor Summary
Constructors Constructor Description PassivationStrategySettings(scala.Option<akka.cluster.sharding.ClusterShardingSettings.PassivationStrategySettings.IdleSettings> idleEntitySettings, scala.Option<java.lang.Object> activeEntityLimit, scala.Option<akka.cluster.sharding.ClusterShardingSettings.PassivationStrategySettings.PolicySettings> replacementPolicySettings)
PassivationStrategySettings(scala.Option<akka.cluster.sharding.ClusterShardingSettings.PassivationStrategySettings.IdleSettings> idleEntitySettings, scala.Option<java.lang.Object> activeEntityLimit, scala.Option<akka.cluster.sharding.ClusterShardingSettings.PassivationStrategySettings.PolicySettings> replacementPolicySettings, scala.Option<akka.cluster.sharding.ClusterShardingSettings.PassivationStrategySettings.AdmissionSettings> admissionSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.Option<java.lang.Object>
activeEntityLimit()
scala.Option<akka.cluster.sharding.ClusterShardingSettings.PassivationStrategySettings.AdmissionSettings>
admissionSettings()
scala.Option<akka.cluster.sharding.ClusterShardingSettings.PassivationStrategySettings.IdleSettings>
idleEntitySettings()
scala.Option<akka.cluster.sharding.ClusterShardingSettings.PassivationStrategySettings.PolicySettings>
replacementPolicySettings()
ClusterShardingSettings.PassivationStrategySettings
withActiveEntityLimit(int limit)
ClusterShardingSettings.PassivationStrategySettings
withAdmission(akka.cluster.sharding.ClusterShardingSettings.PassivationStrategySettings.AdmissionSettings settings)
ClusterShardingSettings.PassivationStrategySettings
withIdleEntityPassivation(akka.cluster.sharding.ClusterShardingSettings.PassivationStrategySettings.IdleSettings settings)
ClusterShardingSettings.PassivationStrategySettings
withIdleEntityPassivation(java.time.Duration timeout, java.time.Duration interval)
ClusterShardingSettings.PassivationStrategySettings
withIdleEntityPassivation(scala.concurrent.duration.FiniteDuration timeout, scala.concurrent.duration.FiniteDuration interval)
ClusterShardingSettings.PassivationStrategySettings
withLeastFrequentlyUsedReplacement()
ClusterShardingSettings.PassivationStrategySettings
withLeastRecentlyUsedReplacement()
ClusterShardingSettings.PassivationStrategySettings
withMostRecentlyUsedReplacement()
ClusterShardingSettings.PassivationStrategySettings
withReplacementPolicy(akka.cluster.sharding.ClusterShardingSettings.PassivationStrategySettings.PolicySettings settings)
-
-
-
Constructor Detail
-
PassivationStrategySettings
public PassivationStrategySettings(scala.Option<akka.cluster.sharding.ClusterShardingSettings.PassivationStrategySettings.IdleSettings> idleEntitySettings, scala.Option<java.lang.Object> activeEntityLimit, scala.Option<akka.cluster.sharding.ClusterShardingSettings.PassivationStrategySettings.PolicySettings> replacementPolicySettings, scala.Option<akka.cluster.sharding.ClusterShardingSettings.PassivationStrategySettings.AdmissionSettings> admissionSettings)
-
PassivationStrategySettings
public PassivationStrategySettings(scala.Option<akka.cluster.sharding.ClusterShardingSettings.PassivationStrategySettings.IdleSettings> idleEntitySettings, scala.Option<java.lang.Object> activeEntityLimit, scala.Option<akka.cluster.sharding.ClusterShardingSettings.PassivationStrategySettings.PolicySettings> replacementPolicySettings)
-
-
Method Detail
-
idleEntitySettings
public scala.Option<akka.cluster.sharding.ClusterShardingSettings.PassivationStrategySettings.IdleSettings> idleEntitySettings()
-
activeEntityLimit
public scala.Option<java.lang.Object> activeEntityLimit()
-
replacementPolicySettings
public scala.Option<akka.cluster.sharding.ClusterShardingSettings.PassivationStrategySettings.PolicySettings> replacementPolicySettings()
-
admissionSettings
public scala.Option<akka.cluster.sharding.ClusterShardingSettings.PassivationStrategySettings.AdmissionSettings> admissionSettings()
-
withIdleEntityPassivation
public ClusterShardingSettings.PassivationStrategySettings withIdleEntityPassivation(akka.cluster.sharding.ClusterShardingSettings.PassivationStrategySettings.IdleSettings settings)
-
withIdleEntityPassivation
public ClusterShardingSettings.PassivationStrategySettings withIdleEntityPassivation(scala.concurrent.duration.FiniteDuration timeout, scala.concurrent.duration.FiniteDuration interval)
-
withIdleEntityPassivation
public ClusterShardingSettings.PassivationStrategySettings withIdleEntityPassivation(java.time.Duration timeout, java.time.Duration interval)
-
withActiveEntityLimit
public ClusterShardingSettings.PassivationStrategySettings withActiveEntityLimit(int limit)
-
withReplacementPolicy
public ClusterShardingSettings.PassivationStrategySettings withReplacementPolicy(akka.cluster.sharding.ClusterShardingSettings.PassivationStrategySettings.PolicySettings settings)
-
withLeastRecentlyUsedReplacement
public ClusterShardingSettings.PassivationStrategySettings withLeastRecentlyUsedReplacement()
-
withMostRecentlyUsedReplacement
public ClusterShardingSettings.PassivationStrategySettings withMostRecentlyUsedReplacement()
-
withLeastFrequentlyUsedReplacement
public ClusterShardingSettings.PassivationStrategySettings withLeastFrequentlyUsedReplacement()
-
withAdmission
public ClusterShardingSettings.PassivationStrategySettings withAdmission(akka.cluster.sharding.ClusterShardingSettings.PassivationStrategySettings.AdmissionSettings settings)
-
-