+
+ public static final String ACTOR_SYSTEM_NAME = "opendaylight-cluster-data";
+
+ public static final String CONFIGURATION_NAME = "odl-cluster-data";
+
+ private static AtomicReference<ActorSystem> persistentActorSystem = new AtomicReference<>();
+
+ public static DistributedDataStore createInstance(String name, SchemaService schemaService,
+ DatastoreContext datastoreContext, BundleContext bundleContext) {
+
+ ActorSystem actorSystem = getOrCreateInstance(bundleContext, datastoreContext.getConfigurationReader());
+ Configuration config = new ConfigurationImpl("module-shards.conf", "modules.conf");