tornado_elasticsearch.py
def ping(self, params=None):
        """ Returns True if the cluster is up, False otherwise. """
        try:
            self.transport.perform_request('HEAD', '/', params=params)
        except TransportError:
            raise gen.Return(False)
        raise gen.Return(True)
def ping(self, params=None):
        try:
            self.transport.perform_request('HEAD', '/', params=params)
        except TransportError:
            raise gen.Return(False)
        raise gen.Return(True)
def ping ( self , params = None ) : try : self . transport . perform_request ( 'HEAD' , '/' , params = params ) except TransportError : raise gen . Return ( False ) raise gen . Return ( True )
Returns True if the cluster is up, False otherwise.
Returns True if the cluster is up False otherwise .