#!/usr/bin/python3
# -*- coding: utf-8 -*-


class ICache:

    def get_cache_md5(self, cache_factor):
        """
        通过缓存因素获取其MD5值
        :return:
        """
        pass

    def get_cache(self, cache_md5, param_map):
        """
        通过缓存因素获取其MD5值
        :return:
        """
        pass

    def save_cache(self, npm_dto, cache_md5):
        """
        保存缓存
        :param npm_dto:
        :param cache_md5:
        :param http_clent:
        :return:
        """
        pass