admin
2022-09-04 fa05f89529e05078b29606e4beda3de5cfdce485
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//
//  CSJCacheConfig.h
//  CSJCacheConfig
//
//  Created by zth on 2021/9/18.
//
 
 
/**承载SDK 内存各类存储的阈值获取  对线上媒体使用体验可能造成负向影响的阈值, 建议通过server 下发配置*/
#import <Foundation/Foundation.h>
 
NS_ASSUME_NONNULL_BEGIN
 
@interface CSJCacheConfig : NSObject
 
 
+ (instancetype)defaultConfig;
/**销毁单例*/
- (void)destroyConfig;
 
+(instancetype) alloc __attribute__((unavailable("replace with 'defaultConfig'")));
 
+(instancetype) new __attribute__((unavailable("replace with 'defaultConfig'")));
 
-(instancetype) copy __attribute__((unavailable("replace with 'defaultConfig'")));
 
-(instancetype) mutableCopy __attribute__((unavailable("replace with 'defaultConfig'")));
 
/// MARK: BU_SDImageCacheConfig 设置缓存存储的最大数目 默认值为6
/// @Warning 云控返回数据<默认值将无效.
- (void)setUpBUSDimageCacheMaxMemoryCount;
 
/// MARK: BU_SDImageCacheConfig 设置缓存存储的最大内存数值 默认值为24M
/// @Warning 云控返回数据<默认值将无效
- (void)setUpBUSDimageCacheMaxMemoryCost;
 
 
@end
 
NS_ASSUME_NONNULL_END