+ /**
+ * Registration of the CDS shard that allows you to remove the shard from the system by closing the registration.
+ * This removal is done asynchronously.
+ */
+ interface DistributedShardRegistration {
+
+ /**
+ * Removes the shard from the system, this removal is done asynchronously, the future completes once the
+ * backend shard is no longer present.
+ */
+ CompletionStage<Void> close();