mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-22 15:10:02 +00:00
Refactor L2 cache tenant awareness - add TenantAwareCache
The design change is to use TenantAwareCache to deal with wrap/unwrap of tenant aware keys, removing any tenant awareness from the underlying cache implementations (DefaultServerCache, redis, hazelcast etc).
This commit is contained in:
1 parent
daf5220766
commit
f5a779e18b
14 files changed
+314
-108
No files matched your search
+1
-1
@@ -117,9 +117,9 @@ public class TestNatKeyCacheWithForeignKey extends BaseTestCase {
|
||||
|
||||
@Test
|
||||
public void findSimple() {
|
||||
|
||||
setupData();
|
||||
clearAllL2Cache();
|
||||
appStats();
|
||||
|
||||
OCachedApp app0 = findAppByName("app0");
|
||||
assertThat(app0).isNotNull();
|
||||
|
||||
Reference in new issue
Block a user