
    g                     (    d dl mZmZ  G d d      Zy)    )ABCMetaabstractmethodc                   T    e Zd ZdZeZed        Zed        Zed        Z	ed        Z
y)CacheAdapterz*
    CacheAdapter Abstract Base Class
    c                     t         )a  
        Gets value specified by parameters

        :param public_id:       The public ID of the resource
        :param type:            The storage type
        :param resource_type:   The type of the resource
        :param transformation:  The transformation string
        :param format:          The format of the resource

        :return: None|mixed value, None if not found
        NotImplementedErrorself	public_idtyperesource_typetransformationformats         ;/opt/Tautulli/lib/cloudinary/cache/adapter/cache_adapter.pygetzCacheAdapter.get
   
     "!    c                     t         )a  
        Sets value specified by parameters

        :param public_id:       The public ID of the resource
        :param type:            The storage type
        :param resource_type:   The type of the resource
        :param transformation:  The transformation string
        :param format:          The format of the resource
        :param value:           The value to set

        :return: bool True on success or False on failure
        r   )r   r   r   r   r   r   values          r   setzCacheAdapter.set   s
     "!r   c                     t         )a  
        Deletes entry specified by parameters

        :param public_id:       The public ID of the resource
        :param type:            The storage type
        :param resource_type:   The type of the resource
        :param transformation:  The transformation string
        :param format:          The format of the resource

        :return: bool True on success or False on failure
        r   r
   s         r   deletezCacheAdapter.delete)   r   r   c                     t         )zk
        Flushes all entries from cache

        :return: bool True on success or False on failure
        r   )r   s    r   	flush_allzCacheAdapter.flush_all8   s
     "!r   N)__name__
__module____qualname____doc__r   __metaclass__r   r   r   r   r    r   r   r   r      s\     M" " " " " " " "r   r   N)abcr   r   r   r!   r   r   <module>r#      s    ';" ;"r   