X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-akka-raft%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fraft%2FPeerInfo.java;h=21b56d9a211ab35f56cfa54f866f711ac871e75e;hp=3d15d88e38994c4410bd26a601cc9df609be3386;hb=73ab61a037dd2489600acbc1eaf6f9ee549c204a;hpb=9491b06df9419e58db3089a4c5cd9f5407cb9aac diff --git a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/PeerInfo.java b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/PeerInfo.java index 3d15d88e38..21b56d9a21 100644 --- a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/PeerInfo.java +++ b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/PeerInfo.java @@ -17,6 +17,13 @@ public class PeerInfo { private String address; private VotingState votingState; + /** + * Constructs an instance. + * + * @param id the id of the peer. + * @param address the address of the peer. + * @param votingState the VotingState of the peer. + */ public PeerInfo(String id, String address, VotingState votingState) { this.id = id; this.address = address;