Interface IDiscoveryConfig
- All Known Implementing Classes:
DefaultDiscoveryConfig
public interface IDiscoveryConfig
Configuration values of this ZooKeeper-based discovery provider.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringIf found and the zookeeper discovery bundle is started then the zookeeper server will be started automatically.static final StringThe port at which the clients will connect.static final StringThe single name of the directory inZOOKEEPER_TEMPDIRwhere the snapshot is stored.static final StringThe single name of the directory inZOOKEEPER_TEMPDIRwhere the log is stored.static final StringLeader election port.static final StringThe number of ticks that the initial synchronization phase can take.static final StringServer to server port.static final StringThe number of ticks that can pass between sending a request and getting an acknowledgment.static final StringThe directory where zookeeper can work.static final StringThe number of milliseconds of each tick. -
Method Summary
-
Field Details
-
ZOODISCOVERY_FLAVOR_STANDALONE
- See Also:
-
ZOODISCOVERY_FLAVOR_CENTRALIZED
- See Also:
-
ZOODISCOVERY_FLAVOR_REPLICATED
- See Also:
-
ZOODISCOVERY_CONSOLELOG
- See Also:
-
ZOOKEEPER_TICKTIME
The number of milliseconds of each tick. OPTIONAL- See Also:
-
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:
-
ZOOKEEPER_TEMPDIR
The directory where zookeeper can work. OPTIONAL- See Also:
-
ZOOKEEPER_DATADIR
The single name of the directory inZOOKEEPER_TEMPDIRwhere the snapshot is stored. OPIONAL- See Also:
-
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:
-
ZOOKEEPER_INITLIMIT
The number of ticks that the initial synchronization phase can take. OPTIONAL- See Also:
-
ZOOKEEPER_SYNCLIMIT
The number of ticks that can pass between sending a request and getting an acknowledgment. OPTIONAL- See Also:
-
ZOOKEEPER_CLIENTPORT
The port at which the clients will connect. OPTIONAL- See Also:
-
ZOOKEEPER_SERVER_PORT
Server to server port. OPTIONAL- See Also:
-
ZOOKEEPER_ELECTION_PORT
Leader election port. OPTIONAL- See Also:
-
-
Method Details
-
getConfigProperties
- Returns:
- Map of properties used for configuration. All properties understood by Apache ZooKeeper (v3.1.1) might be included as well.
- See Also:
-