class StateL1APCu implements StateL1Interface (View source)

L1 statistics manager storing in APCu.

Methods

__construct(string $pool)

Constructor implementation.

recordHit()

{inheritdoc}

recordMiss()

{inheritdoc}

int
getHits()

{inheritdoc}

int
getMisses()

{inheritdoc}

int
getLastAppliedEventID()

{inheritdoc}

setLastAppliedEventID(int $eventId)

{inheritdoc}

clear()

{inheritdoc}

Details

at line line 35
__construct(string $pool)

Constructor implementation.

Parameters

string $pool Pool string that this state manager will collect statistics for.

at line line 48
recordHit()

{inheritdoc}

at line line 56
recordMiss()

{inheritdoc}

at line line 88
int getHits()

{inheritdoc}

Return Value

int The cache-hits count.

at line line 97
int getMisses()

{inheritdoc}

Return Value

int The cache-misses count.

at line line 106
int getLastAppliedEventID()

{inheritdoc}

Return Value

int The EventID stored or NULL.

at line line 118
setLastAppliedEventID(int $eventId)

{inheritdoc}

Parameters

int $eventId Event ID to store for future reference.

at line line 126
clear()

{inheritdoc}