Remove ApiMayChange from coordination module (#27026)
Note that it will be fully stable in 2.6.0 so no guarantees for milestones before that. * remove api may change from sharding lease settings * mima * Remove settings from module
This commit is contained in:
parent
37f42d3220
commit
3888de23ed
12 changed files with 4 additions and 33 deletions
|
|
@ -8,7 +8,7 @@ import scala.concurrent.duration._
|
|||
import scala.concurrent.duration.FiniteDuration
|
||||
import akka.actor.ActorSystem
|
||||
import akka.actor.NoSerializationVerificationNeeded
|
||||
import akka.annotation.{ ApiMayChange, InternalApi }
|
||||
import akka.annotation.InternalApi
|
||||
import com.typesafe.config.Config
|
||||
import akka.cluster.Cluster
|
||||
import akka.cluster.singleton.ClusterSingletonManagerSettings
|
||||
|
|
@ -302,7 +302,6 @@ final class ClusterShardingSettings(
|
|||
def withPassivateIdleAfter(duration: java.time.Duration): ClusterShardingSettings =
|
||||
copy(passivateIdleAfter = duration.asScala)
|
||||
|
||||
@ApiMayChange
|
||||
def withLeaseSettings(leaseSettings: LeaseUsageSettings): ClusterShardingSettings =
|
||||
copy(leaseSettings = Some(leaseSettings))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue