\acdhOeaw\utilKeepTransactionAlive

A wrapper for bin/keepTransactionAlive.php script allowing to keep a Fedora transaction alive on platforms which don't provide pcntl_fork() (like Windows)

The spawned bin/keepTransactionAlive.php is automatically ended when corresponding KeepTransactionAlive class object is deleted.

Summary

Methods
Properties
Constants
__construct()
__destruct()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$pipes
$process
N/A

Properties

$pipes

$pipes : 

Type

$process

$process : 

Type

Methods

__construct()

__construct(string  $txUrl, string  $login, string  $password, integer  $interval = 90) 

Spawns a process keeping transaction alive.

Parameters

string $txUrl

Fedora transaction URL

string $login

login to be used

string $password

password to be used

integer $interval

default refresh interval

Throws

\RuntimeException

__destruct()

__destruct() 

Ends corresponding bin/keepTransactionAlive.php script