trait FlushScheduler (View source)

Schedule flush operation for a following request

The scheduler does not trigger a flush but rather puts a marker into the manifest cache so that one of the next Requests can find it and perform the actual manifest flush.

Methods

public
bool
scheduleFlush(HTTPRequest $request)

Schedules the manifest flush operation for a following request

Details

bool scheduleFlush(HTTPRequest $request)

Schedules the manifest flush operation for a following request

WARNING! Does not perform flush, but schedules it for another request

Parameters

HTTPRequest $request

Return Value

bool

true if flush has been scheduled, false otherwise