rob bygrave
48abc73e50
#1973 - L2Cache, Inheritance and Lazy-Loading loads the parent Class not the Child
2020-03-10 22:52:13 +13:00
Rob Bygrave and GitHub
a861e8bdcc
Remove reading mapping annotations from "Getters" with associated refactoring for performance ( #1971 )
...
* #1970 - Change test code only moving mapping annotations to fields
First step in remove support for mapping annotations on "Getters" (so field only target for mapping annotations)
* #1970 - Remove reading mapping annotations from "Getters"
* #1970 - Refactor to use simple annotation lookup where possible
* #1970 - Remove GenerationType.TABLE and SequenceGenerator from type/class
* #1970 - Refactor meta annotation reading
* #1970 - Read @Aggregation as a meta annotation
2020-03-09 16:09:41 +13:00
Rob Bygrave and GitHub
b24f093bbb
Remove io.ebean.meta.MetricType as it is unnecessary ( #1923 )
2020-02-22 09:17:14 +13:00
rob bygrave
d2ece76ca8
#1816 Fix for OneToMany relation to non-cached target bean.
2019-09-12 14:55:37 +12:00
rob bygrave
9674711516
#1796 - ENH: add query.fetchCache(path) ... for explicitly building part of graph from L2 cache
2019-08-19 21:36:19 +12:00
rob bygrave
3829613c37
#1717 #1721 - Fix for table touch with query cache clear
2019-05-21 09:17:07 +12:00
Rob Bygrave and GitHub
7fbdab6220
Refactor TableModState to use nanoTime refactor ( #1720 )
...
* #1719 - Refactor TableModState to use nanoTime
* Tests only - reduce logging
2019-05-21 00:42:17 +12:00
rob bygrave
a5e3a70921
#1685 DefaultServerCache expose hit and miss count to assist testing
...
Expose these counters to assist the testing of duel caches where
DefaultServerCache is used as the near cache.
2019-04-28 09:50:45 +12:00
rob bygrave
e700f1c83c
#1685 Update ServerCacheFactory to support standard metrics collection
2019-04-27 23:22:26 +12:00
rob bygrave
25e6d05542
#1685 - Add support for MetaCounterMetrics and refactor DefaultServerCache to use them
2019-04-27 00:34:45 +12:00
rob bygrave
86436ac3ac
#1679 - ENH: Support enabling/disabling L2 cache by "region" at runtime
2019-04-24 15:41:07 +12:00
rob bygrave
ae228d6b0e
#1679 - ENH: Support enabling/disabling L2 cache by "region" at runtime
2019-04-24 14:00:22 +12:00
rob bygrave
81f42f8e95
#1587 - Fix for propagation of @Cache(nearCache=true)
2018-12-21 02:19:21 +13:00
rob bygrave
58f6c67d78
#1585 - Change the L2 bean cache keys to be String based
2018-12-21 01:54:46 +13:00
rob bygrave
ced8c79458
#1582 - ENH: Pass @Cache nearCache option to ServerCacheOptions (for L2 plugins like Redis)
2018-12-19 20:57:45 +13:00
rob bygrave
4bd3a0f293
#1546 - Refactor: Swap from entityBean._ebean_intercept() to entityBean._ebean_getIntercept()
2018-11-13 23:50:13 +13:00
Roland Praml and Rob Bygrave
808004165c
Code cleanup ( #1534 )
...
* removed unused imports (no code change)
* Add missing @Override / @SupressWarnings (no code change)
* FIX: serialization warnings
* FIX: Access to static member
2018-11-10 20:07:01 +13:00
rob bygrave
ed566ca153
#1427 - QueryCache should be cleared, if one of a dependent bean is updated
...
Refactor on PostCommitProcessing with fixes for dependent table invalidation
2018-06-26 00:25:33 +12:00
rob bygrave
671d082ad3
#1427 - Map all deleteByIds into a single CacheChangeBeanRemove and use bulk removeAll api to remove from cache
2018-06-19 01:34:28 +12:00
rob bygrave
43e95d81f6
#1427 - RemoteTransactionEvent process dependent tables
2018-06-19 00:50:14 +12:00
rob bygrave
e1d4159453
#1431 - Refactor internals for RemoteTransactionEvent binary serialisation
2018-06-17 22:25:45 +12:00
rob bygrave
9c73309dfd
#1427 - QueryCache should be cleared, if one of a dependent bean is updated
...
Update RemoteTransactionEvent, add (back) common binary message handling (Common to TCP, K8s and upcoming binary pubsub)
2018-06-16 15:15:54 +12:00
rob bygrave
6a9ab49ef0
#1427 - QueryCache should be cleared, if one of a dependent bean is updated
...
Propagation across cluster.
2018-06-16 00:09:03 +12:00
rob bygrave
96cc8d7605
#1427 - QueryCache should be cleared, if one of a dependent bean is updated
...
Initial work, does not include propagation across cluster.
2018-06-15 17:36:23 +12:00
Roland Praml and Rob Bygrave
49d9d88fbe
FIX: load all props from cache when inheritance is involved ( #1366 )
2018-04-27 14:44:18 +12:00
Rob Bygrave
acd5578d8a
#115 - Mapping - Add support for @ElementCollection enhancement
...
Add element collection L2 cache support
2018-03-29 01:15:58 +13:00
Roland Praml and Rob Bygrave
0e3f47ee82
No effective code change: Fixwarnings, overrides, generics etc. ( #1285 )
2018-02-27 10:15:19 +13:00
Rob Bygrave
4d0b29624e
#1222 - Extend L2 ServerCache API with putAll(), getAll() and removeAll() methods
2017-12-13 19:58:28 +13:00
Rob Bygrave
c7f4b56dd1
#1225 - ENH: Extend L2 server cache (near caching) for clearing "near caches"
2017-12-13 02:09:10 +13:00
Roland Praml and Rob Bygrave
2263d31f46
Improved the performance of findAnnotation ( #1177 )
2017-10-19 09:34:57 +13:00
Roland Praml and Rob Bygrave
46cdc84e6b
Refactor/findannotation ( #1104 )
...
* refactor: renamed findAnnotation method that searches recursive to findAnnotationRecursive
* CHG: searching namedQueries & indices also recursive in superclasses
* FIX: Using the AnnotationBase methods on several places and documented them
2017-09-01 20:25:10 +12:00
rob bygrave
88c6ec358c
#981 Additional refactor to 981 - use composed key in multi tenant environment - Expose TenantAwareKey handling for plugins
2017-05-20 13:53:46 +12:00
Roland Praml and Rob Bygrave
d3ea01b76e
use composed key in multi tenant environment instead a cache per tenant ( #981 )
2017-05-20 12:35:34 +12:00
Koen De Groote and Rob Bygrave
43408fcb87
Java language level updates concerning Maps. ( #1008 )
...
* Java language level updates concerning Maps.
* Reverts when comments indicated no sync can happen.
2017-04-22 15:48:46 +12:00
Koen De Groote and Rob Bygrave
b821702b8d
Moving defaultservercache implementation to use nanoseconds to determine whether or not something needs to be evicted from the cache. ( #998 )
...
The old implementation used System.currentTimeMillis(), which might be unreliable, for instance during a jump in DST.
Thanks @rPraml for noticing and suggesting the fix.
2017-04-01 00:30:01 +13:00
Roland Praml and Rob Bygrave
40f5596837
add missing @override ( #975 )
...
* no effective code change: add missing @override in "io.ebean.*" package
* no effective code change: add missing @override in "io.ebeaninternal.api.*" package
* no effective code change: add missing @override in "io.ebeaninternal.server.*" package
* no effective code change: add missing @override in "io.ebeaninternal.util.*" package
* no effective code change: add missing @override in "io.ebeanservice.*" package
* no effective code change: add missing @override in "src/test/java/"
2017-02-24 00:01:25 +13:00
Koen De Groote and Rob Bygrave
6120a465e1
Simple fixes ( #976 )
...
* Should be only the really simple stuff.
* Final cleanups.
2017-02-23 23:46:51 +13:00
Rob Bygrave
971e2dc91b
#919 - io.ebean package initial
2016-12-11 23:23:22 +13:00