Sha256: 9c5632fbf6bd4515e94d68ff853f28aa4364e3c20519e7189bec3eb4e63a3797

Contents?: true

Size: 461 Bytes

Versions: 7

Compression:

Stored size: 461 Bytes

Contents

<?php

namespace Predis\Commands;

class ServerBackgroundSave extends Command {
    public function getId() {
        return 'BGSAVE';
    }

    protected function onPrefixKeys(Array $arguments, $prefix) {
        /* NOOP */
    }

    protected function canBeHashed() {
        return false;
    }

    public function parseResponse($data) {
        if ($data == 'Background saving started') {
            return true;
        }
        return $data;
    }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
appstats-0.25.1 doc/benchmarks/Predis/Commands/ServerBackgroundSave.php
appstats-0.25.0 doc/benchmarks/Predis/Commands/ServerBackgroundSave.php
appstats-0.24.0 doc/benchmarks/Predis/Commands/ServerBackgroundSave.php
appstats-0.23.5 doc/benchmarks/Predis/Commands/ServerBackgroundSave.php
appstats-0.23.4 doc/benchmarks/Predis/Commands/ServerBackgroundSave.php
appstats-0.23.3 doc/benchmarks/Predis/Commands/ServerBackgroundSave.php
appstats-0.23.2 doc/benchmarks/Predis/Commands/ServerBackgroundSave.php