Abstract Class Swift_ConfigurableSpool

InheritanceSwift_ConfigurableSpool
ImplementsSwift_Spool
SubclassesSwift_FileSpool

Base class for Spools (implements time and message limits).

Public Methods

Hide inherited methods

MethodDescriptionDefined By
flushQueue() Sends messages using the given transport instance. Swift_Spool
getMessageLimit() Gets the maximum number of messages to send per flush. Swift_ConfigurableSpool
getTimeLimit() Gets the time limit (in seconds) per flush. Swift_ConfigurableSpool
isStarted() Tests if this Spool mechanism has started. Swift_Spool
queueMessage() Queues a message. Swift_Spool
setMessageLimit() Sets the maximum number of messages to send per flush. Swift_ConfigurableSpool
setTimeLimit() Sets the time limit (in seconds) per flush. Swift_ConfigurableSpool
start() Starts this Spool mechanism. Swift_Spool
stop() Stops this Spool mechanism. Swift_Spool

Method Details

getMessageLimit() public method

Gets the maximum number of messages to send per flush.

public int getMessageLimit ( )
return int

The limit

getTimeLimit() public method

Gets the time limit (in seconds) per flush.

public int getTimeLimit ( )
return int

The limit

setMessageLimit() public method

Sets the maximum number of messages to send per flush.

public void setMessageLimit ( $limit )
$limit int
setTimeLimit() public method

Sets the time limit (in seconds) per flush.

public void setTimeLimit ( $limit )
$limit int

The limit