protected function writeData(array $data) {
		$size = $this->write(self::SHM_DATA_OFFSET, json_encode($data));
		return $this->updateSize($size);
	}
protected function writeData(array $data) {
		$size = $this->write(self::SHM_DATA_OFFSET, json_encode($data));
		return $this->updateSize($size);
	}
protected function writeData ( array $ data ) { $ size = $ this -> write ( self :: SHM_DATA_OFFSET , json_encode ( $ data ) ) ; return $ this -> updateSize ( $ size ) ; }
Write data to shm segment
@param array $data
Write data to shm segment