Skip to content

Commit

Permalink
Merge pull request Netflix#1261 from mebigfatguy/master
Browse files Browse the repository at this point in the history
add toString()s to help debug custom HystrixPropertiesStrategys
  • Loading branch information
mattrjacobs authored Jun 29, 2016
2 parents cf16c01 + 5ac120c commit 3bfe053
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ private HystrixCollapserKeyDefault(String name) {
public String name() {
return name;
}


@Override
public String toString() {
return name;
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@ private HystrixCommandKeyDefault(String name) {
public String name() {
return name;
}


@Override
public String toString() {
return name;
}
}

/* package-private */ static int getCommandCount() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ private HystrixThreadPoolKeyDefault(String name) {
public String name() {
return name;
}


@Override
public String toString() {
return name;
}
}

/* package-private */ static int getThreadPoolCount() {
Expand Down

0 comments on commit 3bfe053

Please sign in to comment.