kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 7d0b6aef376eb64ae49dd5e8d7679602844520a6cc71c0f176a1eff38bd02bd4 |
|---|---|
| Author | olim7t <omichallat+github@gmail.com> · 2015-06-20 19:27 +02:00 |
| Committer | olim7t <omichallat+github@gmail.com> · 2015-06-22 10:34 +02:00 |
| Parents | db6140bb093e |
1 file changed
modified driver-core/src/main/java/com/datastax/driver/core/Configuration.java +14 −0
| @@ -82,6 +82,20 @@ | ||
| 82 | 82 | this.nettyOptions = nettyOptions; |
| 83 | 83 | } |
| 84 | 84 | |
| 85 | + /** | |
| 86 | + * @deprecated this constructor is provided for backward compatibility. | |
| 87 | + */ | |
| 88 | + @Deprecated | |
| 89 | + public Configuration(Policies policies, | |
| 90 | + ProtocolOptions protocolOptions, | |
| 91 | + PoolingOptions poolingOptions, | |
| 92 | + SocketOptions socketOptions, | |
| 93 | + MetricsOptions metricsOptions, | |
| 94 | + QueryOptions queryOptions) { | |
| 95 | + this(policies, protocolOptions, poolingOptions, socketOptions, metricsOptions, queryOptions, | |
| 96 | + NettyOptions.DEFAULT_INSTANCE); | |
| 97 | + } | |
| 98 | + | |
| 85 | 99 | void register(Cluster.Manager manager) { |
| 86 | 100 | protocolOptions.register(manager); |
| 87 | 101 | poolingOptions.register(manager); |