Package io.antmedia.cluster
Interface IClusterStore
public interface IClusterStore
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addOrUpdate
(ClusterNode node) long
deleteAppSettings
(String appName) Delete the app settings in the databaseboolean
deleteNode
(String nodeId) getClusterNode
(String nodeId) getClusterNodeFromIP
(String ipAddress) getClusterNodes
(int offset, int size) long
getSettings
(String appName) boolean
saveSettings
(AppSettings settings) void
setStatsCollector
(StatsCollector statsCollector) Set the stats collector to the cluster store
-
Method Details
-
getClusterNodes
-
getClusterNode
-
getClusterNodeFromIP
-
getNodeCount
long getNodeCount() -
deleteNode
-
addOrUpdate
-
saveSettings
-
getSettings
-
getAllSettings
List<AppSettings> getAllSettings() -
deleteAppSettings
Delete the app settings in the database- Parameters:
appName
- : Name of the app to be deleted- Returns:
- number of deleted records. It should be 1.
-
setStatsCollector
Set the stats collector to the cluster store- Parameters:
statsCollector
-
-