def __init__(self, *args): self.port = args[0] self.application = tornado.web.Application(args[1]) # self.core_event_loop = pyuv.Loop.default_loop() self.memstore = MemStore.create_instance()
def caching(): return MemStore.get_instance()