PHP Class AppserverIo\Appserver\PersistenceContainer\BeanManagerSettings

Inheritance: extends AppserverIo\Appserver\Application\StandardManagerSettings, implements AppserverIo\Appserver\PersistenceContainer\BeanManagerSettingsInterface
Exibir arquivo Open project: appserver-io/appserver Class Usage Examples

Public Methods

Method Description
__construct ( ) Initialize the default session settings.
getGarbageCollectionProbability ( ) : float Returns the probability the garbage collector will be invoked on the session.
getLifetime ( ) : integer Returns the number of seconds for a stateful session bean lifetime.
setGarbageCollectionProbability ( float $garbageCollectionProbability ) : void Sets the probability the garbage collector will be invoked on the session.
setLifetime ( integer $lifetime ) : void Sets the number of seconds for a stateful session bean lifetime.

Method Details

__construct() public method

Initialize the default session settings.
public __construct ( )

getGarbageCollectionProbability() public method

Returns the probability the garbage collector will be invoked on the session.
public getGarbageCollectionProbability ( ) : float
return float The garbage collector probability

getLifetime() public method

Returns the number of seconds for a stateful session bean lifetime.
public getLifetime ( ) : integer
return integer The stateful session bean lifetime

setGarbageCollectionProbability() public method

Sets the probability the garbage collector will be invoked on the session.
public setGarbageCollectionProbability ( float $garbageCollectionProbability ) : void
$garbageCollectionProbability float The garbage collector probability
return void

setLifetime() public method

Sets the number of seconds for a stateful session bean lifetime.
public setLifetime ( integer $lifetime ) : void
$lifetime integer The stateful session bean lifetime
return void