예제 #1
0
파일: __init__.py 프로젝트: woerwin/dpark
 def __init__(self, host='mfsmaster', port=9421):
     self.host = host
     self.mc = MasterConn(host, port)
     self.inode_cache = {}
예제 #2
0
파일: __init__.py 프로젝트: csdnlzh/dpark
 def __init__(self, host='mfsmaster', port=9421, mountpoint='/mfs'):
     self.host = host
     self.mountpoint = mountpoint
     self.mc = MasterConn(host, port)
     self.inode_cache = {}
     self.symlink_cache = {}