Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048873
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformminorhave not tried2022-03-23 11:062022-04-20 09:36
ReportercbernerView Statuspublic 
Assigned Tocberner 
PrioritynormalResolutionfixedFixed in VersionPR22Q2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0048873: A new API should be provided to allow creating Time Invalidated Caches

DescriptionFor a couple new developments a requirement is a Time Invalidated Cache in Java, to allow caching several key/values lazily in backend and expire them after a period of time.

A technical design is provided here: https://docs.google.com/document/d/1t5dRZbudoNyd1KxLibBp25TCdSRqMs43pC_0MQNpEjU/edit#heading=h.zd8s6v96k4ev [^]

A new library will be used in this part: https://github.com/ben-manes/caffeine [^]

Wiki page explaining how it works is provided here: http://wiki.openbravo.com/wiki/Time_Invalidated_Cache [^]
Steps To Reproduce-
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0053976 closedcaristu Openbravo ERP Support executing actions when a TimeInvalidatedCache entry is invalidated 
blocks defect 0047096 scheduledalostale Retail Modules posterminal: Remove guava usage in java code 
blocks feature request 0048579 closedcaristu Openbravo ERP Push API 

-  Notes
(0135954)
hgbot (developer)
2022-03-23 11:33

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/541 [^]
(0136296)
hgbot (developer)
2022-04-04 13:16

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 7beb47af292165b113c22a9f92c1cd6d70b77754
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 04-04-2022 13:15:36
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/7beb47af292165b113c22a9f92c1cd6d70b77754 [^]

Fixes FR-48873: Merge time-invalidated-cache

- Adds a new cache that can be time-invalidated. It is a new API that
internally uses caffeine cache library.

---
A lib/runtime/caffeine-3.0.6.jar
A src-test/src/org/openbravo/cache/FakeTicker.java
A src-test/src/org/openbravo/cache/TimeInvalidatedCacheTest.java
A src/org/openbravo/cache/TimeInvalidatedCache.java
A src/org/openbravo/cache/TimeInvalidatedCacheBuilder.java
M legal/Licensing.txt
M src-test/src/org/openbravo/test/StandaloneTestSuite.java
---
(0136297)
hgbot (developer)
2022-04-04 13:16

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/541 [^]
(0136299)
hgbot (developer)
2022-04-04 13:26

Repository: https://gitlab.com/openbravo/tools/platform/dependencies [^]
Changeset: eb7fdd48b8e8bf282ee37c6eac0d944fbad59a9f
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 04-04-2022 13:26:35
URL: https://gitlab.com/openbravo/tools/platform/dependencies/-/commit/eb7fdd48b8e8bf282ee37c6eac0d944fbad59a9f [^]

Related to FR-48873: Include caffeine library, used for time-invalidated cache

---
M build.gradle
---

- Issue History
Date Modified Username Field Change
2022-03-23 11:06 cberner New Issue
2022-03-23 11:06 cberner Assigned To => Triage Platform Base
2022-03-23 11:06 cberner Modules => Core
2022-03-23 11:06 cberner Triggers an Emergency Pack => No
2022-03-23 11:09 cberner Assigned To Triage Platform Base => cberner
2022-03-23 11:09 cberner Status new => scheduled
2022-03-23 11:33 hgbot Note Added: 0135954
2022-04-04 13:16 hgbot Resolution open => fixed
2022-04-04 13:16 hgbot Status scheduled => closed
2022-04-04 13:16 hgbot Fixed in Version => PR22Q2
2022-04-04 13:16 hgbot Note Added: 0136296
2022-04-04 13:16 hgbot Note Added: 0136297
2022-04-04 13:26 hgbot Note Added: 0136299
2022-04-07 10:01 alostale Relationship added blocks 0047096
2022-04-20 09:36 cberner Description Updated View Revisions
2022-04-21 09:54 alostale Relationship added blocks 0048579
2023-11-20 09:26 caristu Relationship added related to 0053976
2023-11-21 17:20 caristu Relationship deleted related to 0053976
2023-11-22 10:22 caristu Relationship added related to 0053976


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker