make phaser of ReferenceCountingCloseableObject protected instead of private so subclasses can do stuff with it (#10035)

This commit is contained in:
Clint Wylie 2020-06-15 19:56:49 -07:00 committed by GitHub
parent cad9eea15d
commit 9468df4721
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ public abstract class ReferenceCountingCloseableObject<BaseObject extends Closea
private static final Logger log = new Logger(ReferenceCountingCloseableObject.class);
private final AtomicBoolean closed = new AtomicBoolean(false);
private final Phaser referents = new Phaser(1)
protected final Phaser referents = new Phaser(1)
{
@Override
protected boolean onAdvance(int phase, int registeredParties)