Interface NoSQLConnectionConfigurationMBean
- All Known Implementing Classes:
NoSQLConnectionConfiguration
public interface NoSQLConnectionConfigurationMBean
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the NoSQL partitionCountReturns the Data source connectionReturns the Data source namelongReturns the NoSQL timeoutintReturns the NoSQL retryCountvoidsetCdrStorePartitionCount(int cdrStorePartitionCount) Sets the NoSQL partitionCountvoidsetDataStoreConnection(String dataStoreConnection) Sets the Data source connectionvoidsetDataStoreName(String dataStoreName) Sets the Data source connectionvoidsetNoSQLTimeout(long noSQLTimeout) Sets the NoSQL timeoutvoidsetRetryCount(int retryCount) Sets the NoSQL retryCountMethod to test a connection after configuration
-
Method Details
-
getDataStoreName
String getDataStoreName()Returns the Data source name- Returns:
-
setDataStoreName
Sets the Data source connection- Parameters:
dataStoreName-
-
getDataStoreConnection
String getDataStoreConnection()Returns the Data source connection- Returns:
-
setDataStoreConnection
Sets the Data source connection- Parameters:
dataStoreConnection-
-
getNoSQLTimeout
long getNoSQLTimeout()Returns the NoSQL timeout- Returns:
- noSQLTimeout
-
setNoSQLTimeout
void setNoSQLTimeout(long noSQLTimeout) Sets the NoSQL timeout- Parameters:
noSQLTimeout-
-
testConnection
String testConnection()Method to test a connection after configuration- Returns:
- Message whether or not the connection was successful.
-
getCdrStorePartitionCount
int getCdrStorePartitionCount()Returns the NoSQL partitionCount- Returns:
- partitionCount
-
setCdrStorePartitionCount
void setCdrStorePartitionCount(int cdrStorePartitionCount) Sets the NoSQL partitionCount- Parameters:
cdrStorePartitionCount-
-
getRetryCount
int getRetryCount()Returns the NoSQL retryCount- Returns:
- retryCount
-
setRetryCount
void setRetryCount(int retryCount) Sets the NoSQL retryCount- Parameters:
retryCount-
-