Jamm\Memory\RedisServer::SHUTDOWN PHP Method

SHUTDOWN() public method

Synchronously save the dataset to disk and then shut down the server One of modifiers can be turned on:
public SHUTDOWN ( boolean $save = false, boolean $nosave = false ) : boolean
$save boolean will force a DB saving operation even if no save points are configured.
$nosave boolean will prevent a DB saving operation even if one or more save points are configured.
return boolean
    public function SHUTDOWN($save = false, $nosave = false)
    {
        if ($save) {
            return $this->_send(array('SHUTDOWN', 'SAVE'));
        } elseif ($nosave) {
            return $this->_send(array('SHUTDOWN', 'NOSAVE'));
        }
        return $this->_send(array('SHUTDOWN'));
    }