枚举类的使用
cn.warpin.thirdPart.huawei.obs.obs.services.model.CacheOptionEnum
使用CacheOptionEnum的程序包
-
cn.warpin.thirdPart.huawei.obs.obs.services.model中CacheOptionEnum的使用
修饰符和类型字段说明private CacheOptionEnumDownloadFileRequest.cacheOptionprivate CacheOptionEnumGetObjectRequest.cacheOptionprivate CacheOptionEnumReadAheadRequest.cacheOption修饰符和类型方法说明DownloadFileRequest.getCacheOption()Obtain the control option of the read-ahead cache.GetObjectRequest.getCacheOption()Obtain the control option of the read-ahead cache.ReadAheadRequest.getCacheOption()Obtain the control option of the read-ahead cache.static CacheOptionEnumCacheOptionEnum.getValueFromCode(String code) static CacheOptionEnum返回带有指定名称的该类的枚举常量。static CacheOptionEnum[]CacheOptionEnum.values()返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同修饰符和类型方法说明voidDownloadFileRequest.setCacheOption(CacheOptionEnum cacheOption) Set the control option of the read-ahead cache.voidGetObjectRequest.setCacheOption(CacheOptionEnum cacheOption) Set the control option of the read-ahead cache.voidReadAheadRequest.setCacheOption(CacheOptionEnum cacheOption) Set the control option of the read-ahead cache.限定符构造器说明ReadAheadRequest(String bucketName, String prefix, CacheOptionEnum cacheOption, long ttl) Constructor