KTVHCDataCacheItem.h 653 B

123456789101112131415161718192021222324
  1. //
  2. // KTVHCDataCacheItem.h
  3. // KTVHTTPCache
  4. //
  5. // Created by Single on 2017/8/13.
  6. // Copyright © 2017年 Single. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @class KTVHCDataCacheItemZone;
  10. @interface KTVHCDataCacheItem : NSObject
  11. + (instancetype)new NS_UNAVAILABLE;
  12. - (instancetype)init NS_UNAVAILABLE;
  13. @property (nonatomic, copy, readonly) NSURL * URL;
  14. @property (nonatomic, assign, readonly) long long totalLength;
  15. @property (nonatomic, assign, readonly) long long cacheLength;
  16. @property (nonatomic, assign, readonly) long long vaildLength;
  17. @property (nonatomic, copy, readonly) NSArray <KTVHCDataCacheItemZone *> * zones;
  18. @end