@Component
public class CouchServers
extends java.lang.Object
| Constructor and Description |
|---|
CouchServers(CouchEnvironment couchEnvironment,
CouchServersConfig serversConfig) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
buildDbName(java.lang.String domainName,
java.lang.String defaultPrefix,
java.lang.String prefix,
java.lang.String suffix) |
java.lang.String |
buildNotificationDbName(java.lang.String domainName) |
java.lang.String |
buildRequestDbName(java.lang.String domainName) |
void |
deleteDomainDatabases(java.lang.String domainName) |
CouchEnvironment |
getEnvironment() |
org.tiogasolutions.couchace.core.api.CouchDatabase |
getMasterDatabase() |
org.tiogasolutions.couchace.core.api.CouchServer |
getMasterServer() |
java.lang.String |
getNotificationDatabasePrefix() |
java.lang.String |
getNotificationDatabaseSuffix() |
org.tiogasolutions.couchace.core.api.CouchServer |
getNotificationServer() |
java.lang.String |
getRequestDatabasePrefix() |
java.lang.String |
getRequestDatabaseSuffix() |
org.tiogasolutions.couchace.core.api.CouchServer |
getRequestServer() |
CouchServersConfig |
getServersConfig() |
@Autowired public CouchServers(CouchEnvironment couchEnvironment, CouchServersConfig serversConfig)
public void deleteDomainDatabases(java.lang.String domainName)
public java.lang.String buildRequestDbName(java.lang.String domainName)
public java.lang.String buildNotificationDbName(java.lang.String domainName)
protected java.lang.String buildDbName(java.lang.String domainName,
java.lang.String defaultPrefix,
java.lang.String prefix,
java.lang.String suffix)
public CouchServersConfig getServersConfig()
public org.tiogasolutions.couchace.core.api.CouchServer getMasterServer()
public org.tiogasolutions.couchace.core.api.CouchDatabase getMasterDatabase()
public org.tiogasolutions.couchace.core.api.CouchServer getNotificationServer()
public org.tiogasolutions.couchace.core.api.CouchServer getRequestServer()
public java.lang.String getNotificationDatabasePrefix()
public java.lang.String getNotificationDatabaseSuffix()
public java.lang.String getRequestDatabasePrefix()
public java.lang.String getRequestDatabaseSuffix()
public CouchEnvironment getEnvironment()