Rediska

Follow me on twitter…

Controls

Save

<?php

/**
 * Synchronously save the DB on disk
 * 
 * @param boolean $background Save asynchronously
 * @return boolean
 */

?>

GetLastSaveTime

<?php

/**
 * Return the UNIX time stamp of the last successfully saving of the dataset on disk
 *
 * @return array|integer
 */

?>

Info

<?php

/**
 * Provide information and statistics about the server
 * 
 * @return array
 */

?>

Quit

<?php

/**
 * Ask the server to silently close the connection.
 * 
 * @return array
 */

?>

Shutdown

<?php

/**
 * Synchronously save the DB on disk, then shutdown the server
 * 
 * @return boolean
 */

?>

RewriteAppendOnlyFile

<?php

/**
 * Rewrite the Append Only File in background when it gets too big
 * 
 * @return boolean
 */

?>

SlaveOf

<?php

/**
 * Change the replication settings of a slave on the fly
 * 
 * @throws Rediska_Command_Exception
 * @param string|Rediska_Connection|false $aliasOrConnection Server alias, Rediska_Connection object or false if not slave
 * @return boolean
 */

?>

Comments

User February 09, 2010 23:18

info aka Rediska_Command_Info is not documented here.

Ivan Shumkov March 12, 2010 15:49

Thanks, already fixed :)