Skip to content

GEODE-8550: Create CloseableReference#5570

Merged
kirklund merged 2 commits into
apache:developfrom
kirklund:GEODE-8550-CloseableReference
Sep 30, 2020
Merged

GEODE-8550: Create CloseableReference#5570
kirklund merged 2 commits into
apache:developfrom
kirklund:GEODE-8550-CloseableReference

Conversation

@kirklund
Copy link
Copy Markdown
Contributor

Create CloseableReference JUnit Rule for unit and integration tests.

Create CloseableReference JUnit Rule for unit and integration tests.
* <p>
* If the referenced value is not an {@code AutoCloseable} or {@code Closeable}, the
* {@code CloseableReference} will use reflection to invoke any method named {@code close} or
* {@code disconnect} regardless of what interfaces are implemented.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also: stop()

@kirklund kirklund merged commit 2a993a5 into apache:develop Sep 30, 2020
@kirklund kirklund deleted the GEODE-8550-CloseableReference branch April 8, 2021 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants