1
0
Fork 0
tuned/tuned/storage/interfaces.py
2012-05-21 16:39:50 +02:00

22 lines
473 B
Python

class Factory(object):
def create(self, namespace):
raise NotImplementedError()
class Provider(object):
def set(self, namespace, option, value):
raise NotImplementedError()
def get(self, namespace, option, default=None):
raise NotImplementedError()
def unset(self, namespace, option):
raise NotImplementedError()
def clear(self):
raise NotImplementedError()
def load(self):
raise NotImplementedError()
def save(self):
raise NotImplementedError()