Class AuthCacheProperties
java.lang.Object
com.broadleafcommerce.auth.cache.autoconfigure.AuthCacheProperties
Properties that influence cache settings for the auth service
- Author:
- Jeff Fischer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintThe total heap budget in MB for all auth caches.intThe total off-heap budget in MB for all auth caches.inthashCode()voidsetAccountInheritanceLineCacheByAccountId(Duration accountInheritanceLineCacheByAccountId) voidsetAdminUrlByTenantId(Duration adminUrlByTenantId) voidsetAncestorAccountCacheByAccountId(Duration ancestorAccountCacheByAccountId) voidsetApplicationByApplicationId(Duration applicationByApplicationId) voidsetApplicationUrlByApplicationId(Duration applicationUrlByApplicationId) voidsetByAuthClient(Duration byAuthClient) voidsetByClientRegistrationId(Duration byClientRegistrationId) voidsetByScopeNames(Duration byScopeNames) voidsetByScopeNamesPermissions(Duration byScopeNamesPermissions) voidsetByServerId(Duration byServerId) voidsetByTenantId(Duration byTenantId) voidsetDescendantAccountCacheByAccountId(Duration descendantAccountCacheByAccountId) voidsetHeapBudget(int heapBudget) The total heap budget in MB for all auth caches.voidsetOauth2IdentityProvidersCache(Duration oauth2IdentityProvidersCache) voidsetOffHeapBudget(int offHeapBudget) The total off-heap budget in MB for all auth caches.toString()
-
Constructor Details
-
AuthCacheProperties
public AuthCacheProperties()
-
-
Method Details
-
getHeapBudget
public int getHeapBudget()The total heap budget in MB for all auth caches. -
getOffHeapBudget
public int getOffHeapBudget()The total off-heap budget in MB for all auth caches. -
getByServerId
-
getByScopeNames
-
getByScopeNamesPermissions
-
getApplicationUrlByApplicationId
-
getApplicationByApplicationId
-
getAdminUrlByTenantId
-
getByAuthClient
-
getAncestorAccountCacheByAccountId
-
getDescendantAccountCacheByAccountId
-
getAccountInheritanceLineCacheByAccountId
-
getOauth2IdentityProvidersCache
-
getByClientRegistrationId
-
getByTenantId
-
setHeapBudget
public void setHeapBudget(int heapBudget) The total heap budget in MB for all auth caches. -
setOffHeapBudget
public void setOffHeapBudget(int offHeapBudget) The total off-heap budget in MB for all auth caches. -
setByServerId
-
setByScopeNames
-
setByScopeNamesPermissions
-
setApplicationUrlByApplicationId
-
setApplicationByApplicationId
-
setAdminUrlByTenantId
-
setByAuthClient
-
setAncestorAccountCacheByAccountId
-
setDescendantAccountCacheByAccountId
-
setAccountInheritanceLineCacheByAccountId
public void setAccountInheritanceLineCacheByAccountId(Duration accountInheritanceLineCacheByAccountId) -
setOauth2IdentityProvidersCache
-
setByClientRegistrationId
-
setByTenantId
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-