Package io.ebean.cache
Class TenantAwareKey
java.lang.Object
io.ebean.cache.TenantAwareKey
public class TenantAwareKey extends Object
Tenant aware handling for caching.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTenantAwareKey.CacheKeyWe use a combined key, if this serverCache is per tenant. -
Constructor Summary
Constructors Constructor Description TenantAwareKey(CurrentTenantProvider tenantProvider)Construct with a tenant provider than can be null. -
Method Summary
-
Constructor Details
-
TenantAwareKey
Construct with a tenant provider than can be null.
-
-
Method Details
-
key
Return a tenant aware key.
-