org.apache.zookeeper.server.quorum
Class QuorumPeer.QuorumServer

java.lang.Object
  extended by org.apache.zookeeper.server.quorum.QuorumPeer.QuorumServer
Enclosing class:
QuorumPeer

public static class QuorumPeer.QuorumServer
extends Object


Field Summary
 InetSocketAddress addr
           
 InetSocketAddress electionAddr
           
 long id
           
 QuorumPeer.LearnerType type
           
 
Constructor Summary
QuorumPeer.QuorumServer(long id, InetSocketAddress addr)
           
QuorumPeer.QuorumServer(long id, InetSocketAddress addr, InetSocketAddress electionAddr)
           
QuorumPeer.QuorumServer(long id, InetSocketAddress addr, InetSocketAddress electionAddr, QuorumPeer.LearnerType type)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

addr

public InetSocketAddress addr

electionAddr

public InetSocketAddress electionAddr

id

public long id

type

public QuorumPeer.LearnerType type
Constructor Detail

QuorumPeer.QuorumServer

public QuorumPeer.QuorumServer(long id,
                               InetSocketAddress addr,
                               InetSocketAddress electionAddr)

QuorumPeer.QuorumServer

public QuorumPeer.QuorumServer(long id,
                               InetSocketAddress addr)

QuorumPeer.QuorumServer

public QuorumPeer.QuorumServer(long id,
                               InetSocketAddress addr,
                               InetSocketAddress electionAddr,
                               QuorumPeer.LearnerType type)


Copyright © 2011 The Apache Software Foundation