Skip to content

Commit

Permalink
Update DruidDataSourceStatValue.java
Browse files Browse the repository at this point in the history
  • Loading branch information
jialechan committed Jul 30, 2014
1 parent 6e2c3be commit b8ed0d6
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,7 @@ public void setStartTransactionCount(long startTransactionCount) {

public long[] getTransactionHistogram() {
return new long[] { txn_0_1,// txn_0_1
txn_1_10,
txn_10_100, //
txn_100_1000, //
txn_1000_10000, //
Expand All @@ -514,11 +515,12 @@ public long[] getTransactionHistogram() {

public void setTransactionHistogram(long[] values) {
txn_0_1 = values[0];
txn_10_100 = values[1];
txn_100_1000 = values[2];
txn_1000_10000 = values[3];
txn_10000_100000 = values[4];
txn_more = values[5];
txn_1_10 = values[1]
txn_10_100 = values[2];
txn_100_1000 = values[3];
txn_1000_10000 = values[4];
txn_10000_100000 = values[5];
txn_more = values[6];
}

public long[] getConnectionHoldTimeHistogram() {
Expand Down

0 comments on commit b8ed0d6

Please sign in to comment.