Skip to main content

ActiveJ 4.2 - Expanded functionality

· One min read

ActiveJ v4.2 was released Apr 13, 2021 (see on Maven). This release expanded functionality of some components.

  • ActiveJ Redis client
  • RecordScheme
    • Added ability to specify fields in RecordScheme that would be used for equals() and hashCode() implementation
    • Added ability to specify fields that would be used to generate a record Comparator
  • FileLocker
    • Made FileLocker constructors public
    • FileLocker now implements java.io.Closeable interface
  • StateManager
    • Added tryLoadSnapshot() and tryLoadDiff() methods that return null rather than throwing an exception
    • Added tryLoad() method to FileStateManager that returns null rather than throwing an exception
    • Added save() method to FileStateManager that takes up a revision for the state to be saved with
  • Improved processing of HTTP requests with large URLs