kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 46b106bbaaab70afa2503f24f4deb8293afcd8670a1f66cf8f49b6d0a664adfa |
|---|---|
| Author | Alexandre Dutra <alexandre.dutra@datastax.com> · 2015-12-26 11:28 +01:00 |
| Committer | olim7t <omichallat+github@gmail.com> · 2016-01-04 18:04 +01:00 |
| Parents | 584976b4bce4 |
6 files changed
modified driver-core/src/main/java/com/datastax/driver/core/PoolingOptions.java +0 −51
| @@ -509,55 +509,4 @@ | ||
| 509 | 509 | distance, core, max)); |
| 510 | 510 | } |
| 511 | 511 | |
| 512 | - /** | |
| 513 | - * @deprecated this option isn't used anymore with the current pool resizing algorithm. | |
| 514 | - */ | |
| 515 | - @Deprecated | |
| 516 | - public int getMinSimultaneousRequestsPerConnectionThreshold(HostDistance distance) { | |
| 517 | - return 0; | |
| 518 | - } | |
| 519 | - | |
| 520 | - /** | |
| 521 | - * @deprecated this option isn't used anymore with the current pool resizing algorithm. | |
| 522 | - */ | |
| 523 | - @Deprecated | |
| 524 | - public synchronized PoolingOptions setMinSimultaneousRequestsPerConnectionThreshold(HostDistance distance, int newMinSimultaneousRequests) { | |
| 525 | - return this; | |
| 526 | - } | |
| 527 | - | |
| 528 | - /** | |
| 529 | - * @deprecated this method has been renamed to {@link #getNewConnectionThreshold(HostDistance)}. This method calls the new one internally, | |
| 530 | - * but you should use the new one in your code. | |
| 531 | - */ | |
| 532 | - @Deprecated | |
| 533 | - public int getMaxSimultaneousRequestsPerConnectionThreshold(HostDistance distance) { | |
| 534 | - return getNewConnectionThreshold(distance); | |
| 535 | - } | |
| 536 | - | |
| 537 | - /** | |
| 538 | - * @deprecated this method has been renamed to {@link #setNewConnectionThreshold(HostDistance, int)}. This method calls the new one | |
| 539 | - * internally, but you should use the new one in your code. | |
| 540 | - */ | |
| 541 | - @Deprecated | |
| 542 | - public PoolingOptions setMaxSimultaneousRequestsPerConnectionThreshold(HostDistance distance, int newMaxSimultaneousRequests) { | |
| 543 | - return this.setNewConnectionThreshold(distance, newMaxSimultaneousRequests); | |
| 544 | - } | |
| 545 | - | |
| 546 | - /** | |
| 547 | - * @deprecated this method has been renamed to {@link #getMaxRequestsPerConnection(HostDistance)}. This method calls the new one internally, | |
| 548 | - * but you should use the new one in your code. | |
| 549 | - */ | |
| 550 | - @Deprecated | |
| 551 | - public int getMaxSimultaneousRequestsPerHostThreshold(HostDistance distance) { | |
| 552 | - return this.getMaxRequestsPerConnection(distance); | |
| 553 | - } | |
| 554 | - | |
| 555 | - /** | |
| 556 | - * @deprecated this method has been renamed to {@link #setMaxRequestsPerConnection(HostDistance, int)}. This method calls the new one internally, | |
| 557 | - * but you should use the new one in your code. | |
| 558 | - */ | |
| 559 | - @Deprecated | |
| 560 | - public PoolingOptions setMaxSimultaneousRequestsPerHostThreshold(HostDistance distance, int newMaxRequests) { | |
| 561 | - return this.setMaxRequestsPerConnection(distance, newMaxRequests); | |
| 562 | - } | |
| 563 | 512 | } |
modified driver-core/src/main/java/com/datastax/driver/core/ProtocolOptions.java +0 −9
| @@ -142,15 +142,6 @@ | ||
| 142 | 142 | this.authProvider = authProvider; |
| 143 | 143 | } |
| 144 | 144 | |
| 145 | - /** | |
| 146 | - * @throws IllegalArgumentException if {@code protocolVersion} does not correspond to any known version. | |
| 147 | - * @deprecated This is provided for backward compatibility; use {@link #ProtocolOptions(int, ProtocolVersion, int, SSLOptions, AuthProvider))} instead. | |
| 148 | - */ | |
| 149 | - @Deprecated | |
| 150 | - public ProtocolOptions(int port, int protocolVersion, SSLOptions sslOptions, AuthProvider authProvider) { | |
| 151 | - this(port, ProtocolVersion.fromInt(protocolVersion), DEFAULT_MAX_SCHEMA_AGREEMENT_WAIT_SECONDS, sslOptions, authProvider); | |
| 152 | - } | |
| 153 | - | |
| 154 | 145 | void register(Cluster.Manager manager) { |
| 155 | 146 | this.manager = manager; |
| 156 | 147 | } |
modified driver-core/src/main/java/com/datastax/driver/core/exceptions/InvalidConfigurationInQueryException.java +0 −8
| @@ -28,14 +28,6 @@ | ||
| 28 | 28 | |
| 29 | 29 | private static final long serialVersionUID = 0; |
| 30 | 30 | |
| 31 | - /** | |
| 32 | - * @deprecated This constructor is kept for backwards compatibility. | |
| 33 | - */ | |
| 34 | - @Deprecated | |
| 35 | - public InvalidConfigurationInQueryException(String msg) { | |
| 36 | - this(null, msg); | |
| 37 | - } | |
| 38 | - | |
| 39 | 31 | public InvalidConfigurationInQueryException(InetSocketAddress address, String msg) { |
| 40 | 32 | super(address, msg); |
| 41 | 33 | } |
modified driver-core/src/main/java/com/datastax/driver/core/exceptions/SyntaxError.java +0 −8
| @@ -27,14 +27,6 @@ | ||
| 27 | 27 | |
| 28 | 28 | private final InetSocketAddress address; |
| 29 | 29 | |
| 30 | - /** | |
| 31 | - * @deprecated This constructor is kept for backwards compatibility. | |
| 32 | - */ | |
| 33 | - @Deprecated | |
| 34 | - public SyntaxError(String msg) { | |
| 35 | - this(null, msg); | |
| 36 | - } | |
| 37 | - | |
| 38 | 30 | public SyntaxError(InetSocketAddress address, String msg) { |
| 39 | 31 | super(msg); |
| 40 | 32 | this.address = address; |
modified driver-core/src/main/java/com/datastax/driver/core/exceptions/TruncateException.java +0 −8
| @@ -27,14 +27,6 @@ | ||
| 27 | 27 | |
| 28 | 28 | private final InetSocketAddress address; |
| 29 | 29 | |
| 30 | - /** | |
| 31 | - * @deprecated This constructor is kept for backwards compatibility. | |
| 32 | - */ | |
| 33 | - @Deprecated | |
| 34 | - public TruncateException(String msg) { | |
| 35 | - this(null, msg); | |
| 36 | - } | |
| 37 | - | |
| 38 | 30 | public TruncateException(InetSocketAddress address, String msg) { |
| 39 | 31 | super(msg); |
| 40 | 32 | this.address = address; |
modified driver-core/src/main/java/com/datastax/driver/core/exceptions/UnauthorizedException.java +0 −8
| @@ -28,14 +28,6 @@ | ||
| 28 | 28 | |
| 29 | 29 | private final InetSocketAddress address; |
| 30 | 30 | |
| 31 | - /** | |
| 32 | - * @deprecated This constructor is kept for backwards compatibility. | |
| 33 | - */ | |
| 34 | - @Deprecated | |
| 35 | - public UnauthorizedException(String msg) { | |
| 36 | - this(null, msg); | |
| 37 | - } | |
| 38 | - | |
| 39 | 31 | public UnauthorizedException(InetSocketAddress address, String msg) { |
| 40 | 32 | super(msg); |
| 41 | 33 | this.address = address; |