Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Currently, it is not clear that if the ratis common utils are public API.
- Classes (e.g. SizeInBytes, TimeDuration, ReferenceCountedObject) used in Ratis-server-api have to be public APIs.
- Other classes (e.g. JavaUtils, JvmPauseMonitor, DataQueue) may not necessarily be.
Since Ratis is a library, it is nice to declare the useful classes as public APIs. We should clarify it and move the public APIs to a new "ratis-common-api" module.
Attachments
Issue Links
- relates to
-
RATIS-2057 Add back JavaUtils.attemptUntilTrue(..)
- Resolved
-
RATIS-2113 Use consistent method names and parameter types in RaftUtils
- Resolved