Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ISSUE #33] fixed int cast double failed error in partitioned and topic item #36

Merged
merged 1 commit into from
Jan 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/api/pulsar/pulsar_partitioned_topic_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,9 @@ class PulsarPartitionedTopicApi {
int partitionNum = 0;
double msgRateIn = 0;
double msgRateOut = 0;
double msgInCounter = 0;
double msgOutCounter = 0;
double storageSize = 0;
int msgInCounter = 0;
int msgOutCounter = 0;
int storageSize = 0;

if (statsMap.containsKey("metadata")) {
Map metadata = statsMap["metadata"] as Map;
Expand Down
6 changes: 3 additions & 3 deletions lib/api/pulsar/pulsar_topic_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,9 @@ class PulsarTopicApi {
int partitionNum = 0;
double msgRateIn = 0;
double msgRateOut = 0;
double msgInCounter = 0;
double msgOutCounter = 0;
double storageSize = 0;
int msgInCounter = 0;
int msgOutCounter = 0;
int storageSize = 0;

if (statsMap.containsKey("metadata")) {
Map metadata = statsMap["metadata"] as Map;
Expand Down
6 changes: 3 additions & 3 deletions lib/module/pulsar/pulsar_partitioned_topic_base.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ class PulsarPartitionedTopicBaseResp {
final int partitionNum;
final double msgRateIn;
final double msgRateOut;
final double msgInCounter;
final double msgOutCounter;
final double storageSize;
final int msgInCounter;
final int msgOutCounter;
final int storageSize;

PulsarPartitionedTopicBaseResp(this.topicName, this.partitionNum, this.msgRateIn, this.msgRateOut, this.msgInCounter,
this.msgOutCounter, this.storageSize);
Expand Down
6 changes: 3 additions & 3 deletions lib/module/pulsar/pulsar_topic_base.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ class PulsarTopicBaseResp {
final int partitionNum;
final double msgRateIn;
final double msgRateOut;
final double msgInCounter;
final double msgOutCounter;
final double storageSize;
final int msgInCounter;
final int msgOutCounter;
final int storageSize;

PulsarTopicBaseResp(this.topicName, this.partitionNum, this.msgRateIn, this.msgRateOut, this.msgInCounter,
this.msgOutCounter, this.storageSize);
Expand Down
6 changes: 3 additions & 3 deletions lib/vm/pulsar/pulsar_partitioned_topic_basic_view_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ class PulsarPartitionedTopicBasicViewModel extends BaseLoadViewModel {
String partitionNum = "";
double msgRateIn = 0;
double msgRateOut = 0;
double msgInCounter = 0;
double msgOutCounter = 0;
double storageSize = 0;
int msgInCounter = 0;
int msgOutCounter = 0;
int storageSize = 0;

PulsarPartitionedTopicBasicViewModel(this.pulsarInstancePo, this.tenantResp, this.namespaceResp, this.topicResp);

Expand Down
6 changes: 3 additions & 3 deletions lib/vm/pulsar/pulsar_topic_basic_view_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ class PulsarTopicBasicViewModel extends BaseLoadViewModel {
final TopicResp topicResp;
double msgRateIn = 0;
double msgRateOut = 0;
double msgInCounter = 0;
double msgOutCounter = 0;
double storageSize = 0;
int msgInCounter = 0;
int msgOutCounter = 0;
int storageSize = 0;

PulsarTopicBasicViewModel(this.pulsarInstancePo, this.tenantResp, this.namespaceResp, this.topicResp);

Expand Down