Class TenantCacheExpiry

java.lang.Object
com.codebarrel.tenant.api.service.TenantCacheExpiry

public class TenantCacheExpiry extends Object
Returns expiry times for data cached related to tenants. Can be overridden with system properties.
  • Constructor Details

    • TenantCacheExpiry

      public TenantCacheExpiry()
  • Method Details

    • getMemoryCacheExpiry

      public static long getMemoryCacheExpiry(TimeUnit unit)
    • getElastiCacheExpiry

      public static int getElastiCacheExpiry(TimeUnit unit)