Module io.ebean.api

Class TenantAwareCache

java.lang.Object
io.ebean.cache.TenantAwareCache
All Implemented Interfaces:
ServerCache

public final class TenantAwareCache extends Object implements ServerCache
A ServerCache proxy that is tenant aware.
  • Constructor Details

    • TenantAwareCache

      public TenantAwareCache(ServerCache delegate, TenantAwareKey tenantAwareKey)
      Create given the TenantAwareKey and delegate cache to proxy to.
      Parameters:
      delegate - The cache to proxy to
      tenantAwareKey - Provides tenant aware keys to use in the cache
  • Method Details