Speedgot
Eternal Harvest
-----
Track and simulate the growth of crops and saplings even offline, with persistent data storage.
Download Now
Via external site
Overview
Updates (
--
)
Reviews (
---
)
Version History
Discussion
Eternal Harvest v1.13
Key Changes:
Synchronization and Atomic Counters
:
Added dbLock to synchronize access to the database.
Added activeStatements to track active SQL statements.
Synchronization in Methods
:
Wrapped database operations within synchronized (dbLock) blocks.
Used activeStatements.incrementAndGet() and activeStatements.decrementAndGet() to track active SQL statements.
Waiting Mechanism in vacuumDatabase
:
Ensured vacuumDatabase waits until no other SQL statements are in progress before proceeding with the VACUUM operation.
This ensures that the VACUUM command only runs when it's safe to do so, avoiding the SQLITE_ERROR.
----------
,
Aug 3, 2024
View on SpigotMC
Resource Information
Author:
----------
Total Downloads:
180
First Release:
Jul 13, 2024
Last Update:
Aug 17, 2024
Category:
---------------
All-Time Rating:
0 ratings
Version
-----
Released:
--------------------
Downloads:
------
Version Rating:
----------------------
--
ratings