Interface WrapperConfiguration
- All Known Implementing Classes:
DocumentWrapperConfiguration
@Singleton
public interface WrapperConfiguration
Represents the configuration which is passed from a node instance to the wrapper in form of a file before starting.
It contains the most basic information in order to allow the wrapper to start and connect to the cluster.
- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptionGet the key which allows this wrapper to authenticate with the associated node.@NonNull eu.cloudnetservice.driver.service.ServiceConfigurationGet the service configuration which was used to create the service associated with this wrapper instance.@NonNull eu.cloudnetservice.driver.service.ServiceInfoSnapshotGet the initial service info snapshot created by the node before the wrapper was started.@NonNull eu.cloudnetservice.driver.network.ssl.SSLConfigurationGet the ssl configuration which should be applied when connecting and communicating with the associated node.@NonNull eu.cloudnetservice.driver.network.HostAndPortGet the address of the node listener this wrapper should connect.
-
Method Details
-
connectionKey
Get the key which allows this wrapper to authenticate with the associated node.- Returns:
- the key which allows this wrapper to authenticate with the associated node.
-
targetListener
Get the address of the node listener this wrapper should connect.- Returns:
- the address of the node listener this wrapper should connect.
-
serviceConfiguration
Get the service configuration which was used to create the service associated with this wrapper instance.- Returns:
- the base service configuration of the associated service.
-
serviceInfoSnapshot
Get the initial service info snapshot created by the node before the wrapper was started.- Returns:
- the initial service info snapshot created by the node before the wrapper was started.
-
sslConfiguration
Get the ssl configuration which should be applied when connecting and communicating with the associated node.- Returns:
- the ssl configuration to apply to all client connection of this wrapper.
-