Package io.antmedia.cluster
Interface IClusterStore
public interface IClusterStore
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaddOrUpdate(ClusterNode node) longdeleteAppSettings(String appName) Delete the app settings in the databasebooleandeleteNode(String nodeId) getClusterNode(String nodeId) getClusterNodeFromIP(String ipAddress) getClusterNodes(int offset, int size) longgetSettings(String appName) booleansaveSettings(AppSettings settings) voidsetStatsCollector(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-
-