src/Model/Table/QueuedJobsTable.php
public function key() {
		if ($this->_key !== null) {
			return $this->_key;
		}
		$this->_key = sha1(microtime());
		if (!$this->_key) {
			throw new RuntimeException('Invalid key generated');
		}

		return $this->_key;
	}
public function key() {
		if ($this->_key !== null) {
			return $this->_key;
		}
		$this->_key = sha1(microtime());
		if (!$this->_key) {
			throw new RuntimeException('Invalid key generated');
		}

		return $this->_key;
	}
public function key ( ) { if ( $ this -> _key !== null ) { return $ this -> _key ; } $ this -> _key = sha1 ( microtime ( ) ) ; if ( ! $ this -> _key ) { throw new RuntimeException ( 'Invalid key generated' ) ; } return $ this -> _key ; }
Generates a unique Identifier for the current worker thread.

Useful to identify the currently running processes for this thread.

@return string Identifier
Generates a unique Identifier for the current worker thread .