Skip to content

Commit

Permalink
fix: make SessionPoolOptions#setUseMultiplexedSession(boolean) packag…
Browse files Browse the repository at this point in the history
…e private (#3130)

* chore(spanner): make multiplexedsession setter package private

* chore(spanner): add clirr

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
harshachinta and gcf-owl-bot[bot] authored May 29, 2024
1 parent c64ed52 commit 575c3e0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ implementation 'com.google.cloud:google-cloud-spanner'
If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-cloud-spanner:6.67.0'
implementation 'com.google.cloud:google-cloud-spanner:6.68.0'
```

If you are using SBT, add this to your dependencies:

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-spanner" % "6.67.0"
libraryDependencies += "com.google.cloud" % "google-cloud-spanner" % "6.68.0"
```
<!-- {x-version-update-end} -->

Expand Down Expand Up @@ -671,7 +671,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-spanner/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-spanner.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-spanner/6.67.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-spanner/6.68.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
6 changes: 6 additions & 0 deletions google-cloud-spanner/clirr-ignored-differences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -712,4 +712,10 @@
<method>void setProtoDescriptors(byte[])</method>
</difference>

<!-- Multiplexed session enable setter to package private -->
<difference>
<differenceType>7009</differenceType>
<className>com/google/cloud/spanner/SessionPoolOptions$Builder</className>
<method>com.google.cloud.spanner.SessionPoolOptions$Builder setUseMultiplexedSession(boolean)</method>
</difference>
</differences>
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ Builder setPoolMaintainerClock(Clock poolMaintainerClock) {
* SessionPoolOptions#maxSessions} based on the traffic load. Failing to do so will result in
* higher latencies.
*/
public Builder setUseMultiplexedSession(boolean useMultiplexedSession) {
Builder setUseMultiplexedSession(boolean useMultiplexedSession) {
this.useMultiplexedSession = useMultiplexedSession;
return this;
}
Expand Down

0 comments on commit 575c3e0

Please sign in to comment.