bandwidthThrottle\tokenBucket\storage\IPCStorage::setMicrotime PHP Method

setMicrotime() public method

public setMicrotime ( $microtime )
    public function setMicrotime($microtime)
    {
        $data = DoublePacker::pack($microtime);
        if (!shm_put_var($this->memory, 0, $data)) {
            throw new StorageException("Could not store in shared memory.");
        }
    }