public function refreshIfOld($durationInMillis = 0)
    {
        if ($this->getRefreshTimestamp() < ((round(microtime(true) * 1000)) - (integer) $durationInMillis)) {
            $this->refresh();
        }
    }
public function refreshIfOld($durationInMillis = 0)
    {
        if ($this->getRefreshTimestamp() < ((round(microtime(true) * 1000)) - (integer) $durationInMillis)) {
            $this->refresh();
        }
    }
public function refreshIfOld ( $ durationInMillis = 0 ) { if ( $ this -> getRefreshTimestamp ( ) < ( ( round ( microtime ( true ) * 1000 ) ) - ( integer ) $ durationInMillis ) ) { $ this -> refresh ( ) ; } }
Reloads the data from the repository if the last refresh did not occur within durationInMillis.

@param integer $durationInMillis
@throws CmisObjectNotFoundException - if the object doesn't exist anymore in the repository
Reloads the data from the repository if the last refresh did not occur within durationInMillis .