@RequiredPermission(Permission.MANAGE_SETTINGS)
public StorageClusterSettings getClusterSettings(Subject subject) {
SystemSettings settings = systemManager.getUnmaskedSystemSettings(true);
StorageClusterSettings clusterSettings = new StorageClusterSettings();
if (!settings.containsKey(SystemSetting.STORAGE_CQL_PORT)) {
return null;
} else {
clusterSettings.setCqlPort(Integer.parseInt(settings.get(
SystemSetting.STORAGE_CQL_PORT)));
}