« EventBufferEvent::enable
EventBufferEvent::getDnsErrorString »

EventBufferEvent::free

(PECL event >= 1.2.6-beta)

EventBufferEvent::free — Free a buffer event

説明

public function EventBufferEvent::free(): void

Free resources allocated by buffer event.

Usually there is no need to call this method, since normally it is done within internal object destructors. However, sometimes we have a long-time script allocating lots of instances, or a script with a heavy memory usage, where we need to free resources as soon as possible. In such cases EventBufferEvent::free() may be used to protect the script against running up to the memory_limit.

パラメータ

この関数にはパラメータはありません。

戻り値

値を返しません。

関連キーワード:
EventBufferEvent   event   buffer   script   memory   enable   getDnsErrorString   beta   allocated   call   method   since   internal   destructors   long   lots   instances   heavy   usage   soon   cases   protect   running   limit
関連する関数・ページ:
eventbufferevent.close   eventbufferevent.write   eventbufferevent.createpair   eventbufferevent.construct   eventbufferevent.read   eventbufferevent.writebuffer

他のマニュアルの関連ページ