O'Reilly logo
  • Hideo Takahashi thinks this is interesting:

name

From

Cover of ZooKeeper

Note

name needs to be defined as a field:

String name = "worker-" + serverId;