@Contract(threading=SAFE) public interface ResourceHolder
Implementations are expected to ensure that releaseResources() methods is idempotent and is
safe to invoke multiple times.
Implementations are expected to be thread-safe.
| Modifier and Type | Method and Description |
|---|---|
void |
releaseResources() |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.