2 Created on Feb 17, 2014 5 @link: http://hierarchical-cluster-engine.com/ 6 @copyright: Copyright © 2013-2014 IOIX Ukraine 7 @license: http://hierarchical-cluster-engine.com/license/ 12 import Constants
as CONSTANTS
16 def __init__(self, host=CONSTANTS.HOST_DEFAULT, port=CONSTANTS.PORT_DEFAULT, timeout=CONSTANTS.NODE_TIMEOUT):
48 return int(round(time.time() * 1000.0)) - self.
createTime def setTimeout(self, timeout)
def __init__(self, host=CONSTANTS.HOST_DEFAULT, port=CONSTANTS.PORT_DEFAULT, timeout=CONSTANTS.NODE_TIMEOUT)