Class TenantCacheExpiry
java.lang.Object
com.codebarrel.tenant.api.service.TenantCacheExpiry
Returns expiry times for data cached related to tenants. Can be overridden with system properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intgetElastiCacheExpiry(TimeUnit unit) static longgetMemoryCacheExpiry(TimeUnit unit)
-
Constructor Details
-
TenantCacheExpiry
public TenantCacheExpiry()
-
-
Method Details
-
getMemoryCacheExpiry
-
getElastiCacheExpiry
-