Interface IDiscoveryConfig
- 
- All Known Implementing Classes:
- DefaultDiscoveryConfig
 
 public interface IDiscoveryConfigConfiguration values of this ZooKeeper-based discovery provider.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringZOODISCOVERY_CONSOLELOGstatic StringZOODISCOVERY_FLAVOR_CENTRALIZEDstatic StringZOODISCOVERY_FLAVOR_REPLICATEDstatic StringZOODISCOVERY_FLAVOR_STANDALONEstatic StringZOOKEEPER_AUTOSTARTIf found and the zookeeper discovery bundle is started then the zookeeper server will be started automatically.static StringZOOKEEPER_CLIENTPORTThe port at which the clients will connect.static StringZOOKEEPER_DATADIRThe single name of the directory inZOOKEEPER_TEMPDIRwhere the snapshot is stored.static StringZOOKEEPER_DATALOGDIRThe single name of the directory inZOOKEEPER_TEMPDIRwhere the log is stored.static StringZOOKEEPER_ELECTION_PORTLeader election port.static StringZOOKEEPER_INITLIMITThe number of ticks that the initial synchronization phase can take.static StringZOOKEEPER_SERVER_PORTServer to server port.static StringZOOKEEPER_SYNCLIMITThe number of ticks that can pass between sending a request and getting an acknowledgment.static StringZOOKEEPER_TEMPDIRThe directory where zookeeper can work.static StringZOOKEEPER_TICKTIMEThe number of milliseconds of each tick.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,Object>getConfigProperties()
 
- 
- 
- 
Field Detail- 
ZOODISCOVERY_FLAVOR_STANDALONEstatic final String ZOODISCOVERY_FLAVOR_STANDALONE - See Also:
- Constant Field Values
 
 - 
ZOODISCOVERY_FLAVOR_CENTRALIZEDstatic final String ZOODISCOVERY_FLAVOR_CENTRALIZED - See Also:
- Constant Field Values
 
 - 
ZOODISCOVERY_FLAVOR_REPLICATEDstatic final String ZOODISCOVERY_FLAVOR_REPLICATED - See Also:
- Constant Field Values
 
 - 
ZOODISCOVERY_CONSOLELOGstatic final String ZOODISCOVERY_CONSOLELOG - See Also:
- Constant Field Values
 
 - 
ZOOKEEPER_TICKTIMEstatic final String ZOOKEEPER_TICKTIME The number of milliseconds of each tick. OPTIONAL- See Also:
- Constant Field Values
 
 - 
ZOOKEEPER_AUTOSTARTstatic final String ZOOKEEPER_AUTOSTART If found and the zookeeper discovery bundle is started then the zookeeper server will be started automatically. Value is not relevant, only the definition.- Since:
- 1.0.0
- See Also:
- Constant Field Values
 
 - 
ZOOKEEPER_TEMPDIRstatic final String ZOOKEEPER_TEMPDIR The directory where zookeeper can work. OPTIONAL- See Also:
- Constant Field Values
 
 - 
ZOOKEEPER_DATADIRstatic final String ZOOKEEPER_DATADIR The single name of the directory inZOOKEEPER_TEMPDIRwhere the snapshot is stored. OPIONAL- See Also:
- Constant Field Values
 
 - 
ZOOKEEPER_DATALOGDIRstatic final String ZOOKEEPER_DATALOGDIR The single name of the directory inZOOKEEPER_TEMPDIRwhere the log is stored. It may be the same asZOOKEEPER_DATADIRbut better if separate. OPTIONAL- See Also:
- Constant Field Values
 
 - 
ZOOKEEPER_INITLIMITstatic final String ZOOKEEPER_INITLIMIT The number of ticks that the initial synchronization phase can take. OPTIONAL- See Also:
- Constant Field Values
 
 - 
ZOOKEEPER_SYNCLIMITstatic final String ZOOKEEPER_SYNCLIMIT The number of ticks that can pass between sending a request and getting an acknowledgment. OPTIONAL- See Also:
- Constant Field Values
 
 - 
ZOOKEEPER_CLIENTPORTstatic final String ZOOKEEPER_CLIENTPORT The port at which the clients will connect. OPTIONAL- See Also:
- Constant Field Values
 
 - 
ZOOKEEPER_SERVER_PORTstatic final String ZOOKEEPER_SERVER_PORT Server to server port. OPTIONAL- See Also:
- Constant Field Values
 
 - 
ZOOKEEPER_ELECTION_PORTstatic final String ZOOKEEPER_ELECTION_PORT Leader election port. OPTIONAL- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getConfigPropertiesMap<String,Object> getConfigProperties() - Returns:
- Map of properties used for configuration. All properties understood by Apache ZooKeeper (v3.1.1) might be included as well.
- See Also:
- ZooKeeper Administrator's Guide
 
 
- 
 
-