All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sitewhere.microservice.configuration.model.instance.PersistenceConfigurations Maven / Gradle / Ivy

There is a newer version: 3.0.13
Show newest version
/*
 * Copyright (c) SiteWhere, LLC. All rights reserved. http://www.sitewhere.com
 *
 * The software in this package is published under the terms of the CPAL v1.0
 * license, a copy of which has been included with this distribution in the
 * LICENSE.txt file.
 */
package com.sitewhere.microservice.configuration.model.instance;

import java.util.HashMap;
import java.util.Map;

import io.quarkus.runtime.annotations.RegisterForReflection;

/**
 * Instance-level configuration for persistence implementations.
 */
@RegisterForReflection
public class PersistenceConfigurations {

    /** Relational database configurations indexed by id */
    private Map rdbConfigurations = new HashMap<>();

    /** InfluxDB configurations indexed by id */
    private Map influxDbConfigurations = new HashMap<>();

    /** Cassandra configurations indexed by id */
    private Map cassandraConfigurations = new HashMap<>();

    public Map getRdbConfigurations() {
	return rdbConfigurations;
    }

    public void setRdbConfigurations(Map rdbConfigurations) {
	this.rdbConfigurations = rdbConfigurations;
    }

    public Map getInfluxDbConfigurations() {
	return influxDbConfigurations;
    }

    public void setInfluxDbConfigurations(Map influxDbConfigurations) {
	this.influxDbConfigurations = influxDbConfigurations;
    }

    public Map getCassandraConfigurations() {
	return cassandraConfigurations;
    }

    public void setCassandraConfigurations(Map cassandraConfigurations) {
	this.cassandraConfigurations = cassandraConfigurations;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy