Skip to content

Commit

Permalink
Remove ApiMayChange from Sharded Daemon Process (#30647)
Browse files Browse the repository at this point in the history
  • Loading branch information
patriknw committed Sep 13, 2021
1 parent 0d3abd2 commit d64020b
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 17 deletions.
Expand Up @@ -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 */
Expand All @@ -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],
Expand Down
Expand Up @@ -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

Expand All @@ -32,7 +31,7 @@ object ShardedDaemonProcess {
*
* Not for user extension.
*/
@DoNotInherit @ApiMayChange
@DoNotInherit
abstract class ShardedDaemonProcess {

/**
Expand Down
Expand Up @@ -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
Expand All @@ -35,7 +34,7 @@ object ShardedDaemonProcess extends ExtensionId[ShardedDaemonProcess] {
*
* Not for user extension.
*/
@DoNotInherit @ApiMayChange
@DoNotInherit
trait ShardedDaemonProcess extends Extension { javadslSelf: javadsl.ShardedDaemonProcess =>

/**
Expand Down
1 change: 0 additions & 1 deletion akka-docs/src/main/paradox/common/may-change.md
Expand Up @@ -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)

@@ -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:
Expand Down

0 comments on commit d64020b

Please sign in to comment.