public function setMicrotime($microtime)
{
if (fseek($this->fileHandle, 0) !== 0) {
throw new StorageException("Could not move to beginning of the file.");
}
$data = DoublePacker::pack($microtime);
$result = fwrite($this->fileHandle, $data, strlen($data));
if ($result !== strlen($data)) {
throw new StorageException("Could not write to storage.");
}
}