public class Participant extends Object
Constructor and Description |
---|
Participant(String id,
boolean leader) |
public Participant(String id, boolean leader)
id
- the IDleader
- true if the leaderpublic String getId()
LeaderSelector.setId(String)
public boolean isLeader()
Copyright © 2011–2013 The Apache Software Foundation. All rights reserved.