枚举的使用
com.obs.services.model.CacheOptionEnum
使用CacheOptionEnum的程序包
-
com.obs.services.model中CacheOptionEnum的使用
com.obs.services.model 中类型参数类型为 CacheOptionEnum 的子类修饰符和类型方法说明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()返回包含该枚举类型的常量的数组, 顺序与声明这些常量的顺序相同参数类型为CacheOptionEnum的com.obs.services.model中的方法修饰符和类型方法说明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.参数类型为CacheOptionEnum的com.obs.services.model中的构造器限定符构造器说明ReadAheadRequest(String bucketName, String prefix, CacheOptionEnum cacheOption, long ttl) Constructor