\Swift_ConfigurableSpool
Base class for Spools (implements time and message limits).
- Author: Fabien Potencier
Synopsis
class Swift_ConfigurableSpool
implements
Swift_Spool
{
- // members
- private $_message_limit;
- private $_time_limit;
- // methods
- public void setMessageLimit()
- public integer getMessageLimit()
- public void setTimeLimit()
- public integer getTimeLimit()
Hierarchy
Members
private
-
$_message_limit
The maximum number of messages to send per flush -
$_time_limit
The time limit per flush
Methods
public
- getMessageLimit() — Gets the maximum number of messages to send per flush.
- getTimeLimit() — Gets the time limit (in seconds) per flush.
- setMessageLimit() — Sets the maximum number of messages to send per flush.
- setTimeLimit() — Sets the time limit (in seconds) per flush.