Remove ApiMayChange from Sharded Daemon Process (#30647)

This commit is contained in:
Patrik Nordwall 2021-09-13 08:43:52 +02:00 committed by GitHub
parent 0d3abd2200
commit d64020bcaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 2 additions and 17 deletions

View file

@ -11,11 +11,9 @@ import scala.concurrent.duration.FiniteDuration
import com.typesafe.config.Config
import akka.actor.typed.ActorSystem
import akka.annotation.ApiMayChange
import akka.annotation.InternalApi
import akka.util.JavaDurationConverters._
@ApiMayChange
object ShardedDaemonProcessSettings {
/** Scala API: Create default settings for system */
@ -41,7 +39,6 @@ object ShardedDaemonProcessSettings {
/**
* Not for user constructions, use factory methods to instanciate.
*/
@ApiMayChange
final class ShardedDaemonProcessSettings @InternalApi private[akka] (
val keepAliveInterval: FiniteDuration,
val shardingSettings: Option[ClusterShardingSettings],

View file

@ -9,7 +9,6 @@ import java.util.Optional
import akka.actor.typed.ActorSystem
import akka.actor.typed.Behavior
import akka.annotation.ApiMayChange
import akka.annotation.DoNotInherit
import akka.cluster.sharding.typed.ShardedDaemonProcessSettings
@ -32,7 +31,7 @@ object ShardedDaemonProcess {
*
* Not for user extension.
*/
@DoNotInherit @ApiMayChange
@DoNotInherit
abstract class ShardedDaemonProcess {
/**

View file

@ -10,7 +10,6 @@ import akka.actor.typed.ActorSystem
import akka.actor.typed.Behavior
import akka.actor.typed.Extension
import akka.actor.typed.ExtensionId
import akka.annotation.ApiMayChange
import akka.annotation.DoNotInherit
import akka.annotation.InternalApi
import akka.cluster.sharding.typed.ShardedDaemonProcessSettings
@ -35,7 +34,7 @@ object ShardedDaemonProcess extends ExtensionId[ShardedDaemonProcess] {
*
* Not for user extension.
*/
@DoNotInherit @ApiMayChange
@DoNotInherit
trait ShardedDaemonProcess extends Extension { javadslSelf: javadsl.ShardedDaemonProcess =>
/**

View file

@ -30,6 +30,5 @@ These are the current complete modules marked as **may change**:
* @ref:[Multi Node Testing](../multi-node-testing.md)
* @ref:[Reliable Delivery](../typed/reliable-delivery.md)
* @ref:[Sharded Daemon Process](../typed/cluster-sharded-daemon-process.md)
* @ref:[Durable State](../typed/durable-state/persistence.md)

View file

@ -1,14 +1,5 @@
# Sharded Daemon Process
@@@ warning
This module is currently marked as @ref:[may change](../common/may-change.md) because it is a new feature that
needs feedback from real usage before finalizing the API. This means that API or semantics can change without
warning or deprecation period. It is also not recommended to use this module in production just yet.
@@@
## Module info
To use Akka Sharded Daemon Process, you must add the following dependency in your project: