src/Adapters/Couchbase.php
protected function assertServerHealhy()
    {
        $info = $this->client->manager()->info();
        foreach ($info['nodes'] as $node) {
            if ($node['status'] !== 'healthy') {
                throw new ServerUnhealthy('Server isn\'t ready yet');
            }
        }
    }
protected function assertServerHealhy()
    {
        $info = $this->client->manager()->info();
        foreach ($info['nodes'] as $node) {
            if ($node['status'] !== 'healthy') {
                throw new ServerUnhealthy('Server isn\'t ready yet');
            }
        }
    }
protected function assertServerHealhy ( ) { $ info = $ this -> client -> manager ( ) -> info ( ) ; foreach ( $ info [ 'nodes' ] as $ node ) { if ( $ node [ 'status' ] !== 'healthy' ) { throw new ServerUnhealthy ( 'Server isn\'t ready yet' ) ; } } }
Verify that the server is healthy.

@throws ServerUnhealthy
Verify that the server is healthy .