public class CacheQuota extends Object
Modifier and Type | Field and Description |
---|---|
static CacheQuota |
UNLIMITED
A predefined CacheQuota instance that sets NO limit.
|
Constructor and Description |
---|
CacheQuota()
Empty cache quota.
|
CacheQuota(Map<CacheScope.Level,Long> quota) |
public static final CacheQuota UNLIMITED
public CacheQuota(Map<CacheScope.Level,Long> quota)
quota
- a map from scope level to size in bytespublic CacheQuota()
Copyright © 2023. All Rights Reserved.