@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.
| 限定符和类型 | 方法和说明 |
|---|---|
void |
releaseResources() |
Copyright © 2023. All rights reserved.