@@ -0,0 +1,566 @@
+# -*- coding:utf-8 -*-%0A%0A# Copyright (c) 2015 jason lai%0A#%0A# See the file LICENSE for copying permission.%0A%0Afrom threading import Lock%0Afrom config import DefaultConf%0A%0A%0Aclass Collection(object):%0A%0A    def __init__(self):%0A        self.lock = Lock()%0A%0A    def query(self, stime, etime):%0A        raise NotImplementedError%0A%0A    def store(self, ts, value):%0A        raise NotImplementedError%0A%0A%0Aclass IncreseCollection(Collection):%0A%0A    def __init__(self):%0A        super().__init__()%0A%0A    def query(self, stime, etime):%0A        pass%0A%0A    def store(self, ts, value):%0A        pass%0A

add collection module.