<filename>lib/caching/policy.py<gh_stars>0
from abc import ABC, abstractmethod


class Policy(ABC):

    def __init__(self, window_size):
        self.wsz = window_size

    @abstractmethod
    def resolve(self, key):
        pass

    @abstractmethod
    @abstractmethod
    def evict(self, key):
        pass

<filename>lib/caching/policy.py<gh_stars>0
from abc import ABC, abstractmethod


class Policy(ABC):

    def __init__(self, window_size):
        self.wsz = window_size

    @abstractmethod
    def resolve(self, key):
        pass

    @abstractmethod
    @abstractmethod
    def evict(self, key):
        pass
