eZPublishCommunityProject  2013.5
eZ\Bundle\EzPublishCoreBundle\Collector\SPIPersistenceDataCollector Class Reference

Collects number of calls made to SPI Persistence as logged by eZ*. More...

+ Inheritance diagram for eZ\Bundle\EzPublishCoreBundle\Collector\SPIPersistenceDataCollector:
+ Collaboration diagram for eZ\Bundle\EzPublishCoreBundle\Collector\SPIPersistenceDataCollector:

Public Member Functions

 __construct (PersistenceLogger $logger)
 
 collect (Request $request, Response $response,\Exception $exception=null)
 Collects data for the given Request and Response. More...
 
 getCalls ()
 Returns calls. More...
 
 getCount ()
 Returns call count. More...
 
 getHandlers ()
 Returns un cached handlers being loaded. More...
 
 getHandlersCount ()
 Returns un cached handlers being loaded. More...
 
 getName ()
 Returns the name of the collector. More...
 

Protected Attributes

 $logger
 

Detailed Description

Collects number of calls made to SPI Persistence as logged by eZ*.

Constructor & Destructor Documentation

eZ\Bundle\EzPublishCoreBundle\Collector\SPIPersistenceDataCollector::__construct ( PersistenceLogger  $logger)
Parameters
\eZ\Publish\Core\Persistence\Cache\PersistenceLogger$logger

Member Function Documentation

eZ\Bundle\EzPublishCoreBundle\Collector\SPIPersistenceDataCollector::collect ( Request  $request,
Response  $response,
\Exception  $exception = null 
)

Collects data for the given Request and Response.

Parameters
Request$requestA Request instance
Response$responseA Response instance
\Exception$exceptionAn Exception instance
eZ\Bundle\EzPublishCoreBundle\Collector\SPIPersistenceDataCollector::getCalls ( )

Returns calls.

Returns
array
eZ\Bundle\EzPublishCoreBundle\Collector\SPIPersistenceDataCollector::getCount ( )

Returns call count.

Returns
int
eZ\Bundle\EzPublishCoreBundle\Collector\SPIPersistenceDataCollector::getHandlers ( )

Returns un cached handlers being loaded.

Returns
array
eZ\Bundle\EzPublishCoreBundle\Collector\SPIPersistenceDataCollector::getHandlersCount ( )

Returns un cached handlers being loaded.

Returns
array
eZ\Bundle\EzPublishCoreBundle\Collector\SPIPersistenceDataCollector::getName ( )

Returns the name of the collector.

Returns
string The collector name

Member Data Documentation

eZ\Bundle\EzPublishCoreBundle\Collector\SPIPersistenceDataCollector::$logger
protected

The documentation for this class was generated from the following file: