TYPO3  7.6
Public Member Functions | Protected Attributes | List of all members
AbstractMemoryProcessor Class Reference
Inheritance diagram for AbstractMemoryProcessor:
AbstractProcessor ProcessorInterface MemoryPeakUsageProcessor MemoryUsageProcessor

Public Member Functions

 setRealMemoryUsage ($realMemoryUsage)
 
 getRealMemoryUsage ()
 
 setFormatSize ($formatSize)
 
 getFormatSize ()
 
- Public Member Functions inherited from AbstractProcessor
 __construct (array $options=array())
 
- Public Member Functions inherited from ProcessorInterface
 processLogRecord (\TYPO3\CMS\Core\Log\LogRecord $logRecord)
 

Protected Attributes

 $realMemoryUsage = true
 
 $formatSize = true
 

Detailed Description

Common memory processor methods.

Definition at line 20 of file AbstractMemoryProcessor.php.

Member Function Documentation

getFormatSize ( )

Returns whether size should be formatted

Returns
bool

Definition at line 78 of file AbstractMemoryProcessor.php.

References AbstractMemoryProcessor\$formatSize.

getRealMemoryUsage ( )

Returns the allocated memory usage type

Returns
bool

Definition at line 57 of file AbstractMemoryProcessor.php.

References AbstractMemoryProcessor\$realMemoryUsage.

Referenced by MemoryPeakUsageProcessor\processLogRecord(), and MemoryUsageProcessor\processLogRecord().

setFormatSize (   $formatSize)

Sets whether size should be formatted

Parameters
bool$formatSize
Returns
void

Definition at line 68 of file AbstractMemoryProcessor.php.

References AbstractMemoryProcessor\$formatSize.

setRealMemoryUsage (   $realMemoryUsage)

Sets the allocated memory usage type

Parameters
bool$realMemoryUsageWhich allocated memory type to use
Returns
void

Definition at line 47 of file AbstractMemoryProcessor.php.

References AbstractMemoryProcessor\$realMemoryUsage.

Member Data Documentation

$formatSize = true
protected
$realMemoryUsage = true
protected