elasticsearch/libs/core
David Turner bfcc93a042
Anonymize AbstractRefCounted (#77208)
Today `AbstractRefCounted` has a `name` field which is only used to
construct the exception message when calling `incRef()` after it's been
closed. This isn't really necessary, the stack trace will identify the
reference in question and give loads more useful detail besides. It's
also slightly irksome to have to name every single implementation.

This commit drops the name and the constructor parameter, and also
introduces a handy factory method for use when there's no extra state
needed and you just want to run a method or lambda when all references
are released.
2021-09-03 07:59:44 +01:00
..
src Anonymize AbstractRefCounted (#77208) 2021-09-03 07:59:44 +01:00
build.gradle Update sources with new SSPL+Elastic-2.0 license headers 2021-02-02 16:10:53 -08:00