ClearStatCache
class ClearStatCache
Methods
static void
clear(string|null $filename = null)
Clear the filesystem stat cache if the interval has elapsed.
static void
forceClear(string|null $filename = null)
Force clear the filesystem stat cache regardless of interval.
static int
getInterval()
Get the clear interval in seconds.
static void
setInterval(int $interval)
Set the clear interval in seconds.
static void
flushState()
Flush all static state.
Details
at line 24
static void
clear(string|null $filename = null)
Clear the filesystem stat cache if the interval has elapsed.
at line 39
static void
forceClear(string|null $filename = null)
Force clear the filesystem stat cache regardless of interval.
at line 51
static int
getInterval()
Get the clear interval in seconds.
at line 62
static void
setInterval(int $interval)
Set the clear interval in seconds.
Boot-only. The interval persists in a static property for the worker lifetime and affects every subsequent stat-cache clear check.
at line 70
static void
flushState()
Flush all static state.