Package com.datastax.driver.core
Interface EndPointFactory
-
- All Known Implementing Classes:
DefaultEndPointFactory,SniEndPointFactory
public interface EndPointFactoryProducesEndPointinstances representing the connection information to every node.This component is reserved for advanced use cases where the driver needs more than an IP address to connect.
Note that if endpoints do not translate to addresses 1-to-1, the auth provider and SSL options should be instances of
ExtendedAuthProviderandExtendedRemoteEndpointAwareSslOptionsrespectively.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EndPointcreate(Row peersRow)Creates an instance from a row insystem.peers, or returnsnullif there is no sufficient information.voidinit(Cluster cluster)
-