test_class.declarator: actorSystem
test_class.modifier: private
test_class.original_string: private ActorSystem actorSystem;
test_class.type: ActorSystem
test_class.var_name: actorSystem
test_class.declarator: config
test_class.modifier: private
test_class.original_string: private DistributedDataConfig config;
test_class.type: DistributedDataConfig
test_class.var_name: config
test_class.file: services/utils/namespaces/src/test/java/org/eclipse/ditto/services/utils/namespaces/BlockedNamespacesTest.java
test_class.identifier: BlockedNamespacesTest
test_case.body: @Test
      public void startSeveralTimes() throws Exception {
          // This test simulates the situation where the root actor of a Ditto service restarts several times.
  
          // GIVEN: Many blocked-namespaces objects were obtained in the same actor system.
          final Supplier<BlockedNamespaces> blockedNamespacesSupplier = () -> BlockedNamespaces.of(actorSystem);
          for (int i = 0; i < 10; ++i) {
              blockedNamespacesSupplier.get();
          }
  
          // WHEN: Another blocked-namespaces object is obtained.
          // THEN: It fulfills its function.
          testCRUD(blockedNamespacesSupplier.get(), actorSystem);
      }
test_case.class_method_signature: BlockedNamespacesTest.startSeveralTimes()
test_case.full_signature: @Test public void startSeveralTimes()
test_case.identifier: startSeveralTimes
test_case.invocations: of get testCRUD get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void startSeveralTimes()
focal_class.declarator: CLUSTER_ROLE = "blocked-namespaces-aware"
focal_class.modifier: public static final
focal_class.original_string: public static final String CLUSTER_ROLE = "blocked-namespaces-aware";
focal_class.type: String
focal_class.var_name: CLUSTER_ROLE
focal_class.declarator: ACTOR_NAME = "blockedNamespacesReplicator"
focal_class.modifier: public static final
focal_class.original_string: public static final String ACTOR_NAME = "blockedNamespacesReplicator";
focal_class.type: String
focal_class.var_name: ACTOR_NAME
focal_class.declarator: KEY = ORSetKey.create("BlockedNamespaces")
focal_class.modifier: private static final
focal_class.original_string: private static final Key<ORSet<String>> KEY = ORSetKey.create("BlockedNamespaces");
focal_class.type: Key<ORSet<String>>
focal_class.var_name: KEY
focal_class.declarator: BLOCKED_NAMESPACES_DISPATCHER = "blocked-namespaces-dispatcher"
focal_class.modifier: private static final
focal_class.original_string: private static final String BLOCKED_NAMESPACES_DISPATCHER = "blocked-namespaces-dispatcher";
focal_class.type: String
focal_class.var_name: BLOCKED_NAMESPACES_DISPATCHER
focal_class.declarator: selfUniqueAddress
focal_class.modifier: private final
focal_class.original_string: private final SelfUniqueAddress selfUniqueAddress;
focal_class.type: SelfUniqueAddress
focal_class.var_name: selfUniqueAddress
focal_class.file: services/utils/namespaces/src/main/java/org/eclipse/ditto/services/utils/namespaces/BlockedNamespaces.java
focal_class.identifier: BlockedNamespaces
focal_class.class_method_signature: BlockedNamespaces.BlockedNamespaces(final DistributedDataConfig config, final ActorSystem system)
focal_class.full_signature: private  BlockedNamespaces(final DistributedDataConfig config, final ActorSystem system)
focal_class.identifier: BlockedNamespaces
focal_class.modifiers: private
focal_class.parameters: (final DistributedDataConfig config, final ActorSystem system)
focal_class.signature:  BlockedNamespaces(final DistributedDataConfig config, final ActorSystem system)
focal_class.class_method_signature: BlockedNamespaces.of(final ActorSystem system)
focal_class.full_signature: public static BlockedNamespaces of(final ActorSystem system)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final ActorSystem system)
focal_class.return: BlockedNamespaces
focal_class.signature: BlockedNamespaces of(final ActorSystem system)
focal_class.class_method_signature: BlockedNamespaces.create(final DistributedDataConfig config, final ActorSystem system)
focal_class.full_signature: public static BlockedNamespaces create(final DistributedDataConfig config, final ActorSystem system)
focal_class.identifier: create
focal_class.modifiers: public static
focal_class.parameters: (final DistributedDataConfig config, final ActorSystem system)
focal_class.return: BlockedNamespaces
focal_class.signature: BlockedNamespaces create(final DistributedDataConfig config, final ActorSystem system)
focal_class.class_method_signature: BlockedNamespaces.contains(final String namespace)
focal_class.full_signature: public CompletionStage<Boolean> contains(final String namespace)
focal_class.identifier: contains
focal_class.modifiers: public
focal_class.parameters: (final String namespace)
focal_class.return: CompletionStage<Boolean>
focal_class.signature: CompletionStage<Boolean> contains(final String namespace)
focal_class.class_method_signature: BlockedNamespaces.add(final String namespace)
focal_class.full_signature: public CompletionStage<Void> add(final String namespace)
focal_class.identifier: add
focal_class.modifiers: public
focal_class.parameters: (final String namespace)
focal_class.return: CompletionStage<Void>
focal_class.signature: CompletionStage<Void> add(final String namespace)
focal_class.class_method_signature: BlockedNamespaces.remove(final String namespace)
focal_class.full_signature: public CompletionStage<Void> remove(final String namespace)
focal_class.identifier: remove
focal_class.modifiers: public
focal_class.parameters: (final String namespace)
focal_class.return: CompletionStage<Void>
focal_class.signature: CompletionStage<Void> remove(final String namespace)
focal_class.class_method_signature: BlockedNamespaces.getKey()
focal_class.full_signature: @Override protected Key<ORSet<String>> getKey()
focal_class.identifier: getKey
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: Key<ORSet<String>>
focal_class.signature: Key<ORSet<String>> getKey()
focal_class.class_method_signature: BlockedNamespaces.getInitialValue()
focal_class.full_signature: @Override protected ORSet<String> getInitialValue()
focal_class.identifier: getInitialValue
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: ORSet<String>
focal_class.signature: ORSet<String> getInitialValue()
focal_class.class_method_signature: BlockedNamespaces.writeAll()
focal_class.full_signature: private Replicator.WriteConsistency writeAll()
focal_class.identifier: writeAll
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Replicator.WriteConsistency
focal_class.signature: Replicator.WriteConsistency writeAll()
focal_class.superclass: extends DistributedData<ORSet<String>>
focal_method.body: public static BlockedNamespaces of(final ActorSystem system) {
          return Provider.INSTANCE.get(system);
      }
focal_method.class_method_signature: BlockedNamespaces.of(final ActorSystem system)
focal_method.full_signature: public static BlockedNamespaces of(final ActorSystem system)
focal_method.identifier: of
focal_method.invocations: get
focal_method.modifiers: public static
focal_method.parameters: (final ActorSystem system)
focal_method.return: BlockedNamespaces
focal_method.signature: BlockedNamespaces of(final ActorSystem system)