TokyoTyrant
PHP Manual

TokyoTyrant::restore

(PECL tokyo_tyrant >= Unknown)

TokyoTyrant::restoreRestore the database

Описание

public void TokyoTyrant::restore ( string $log_dir , int $timestamp [, bool $check_consistency ] )

Restore the database from the update log.

Предупреждение

This method is not supported on 32bit platforms.

Параметри

log_dir

Directory where the log is

timestamp

Beginning timestamp with microseconds

check_consistency

Whether to check consistency: Default: TRUE

Връщани стойности

This method returns the current object and throws TokyoTyrantException on failure.


TokyoTyrant
PHP Manual