PHP Class Scalr\Observer\AbstractEventObserver

Inheritance: implements Scalr\Observer\EventObserverInterface
Afficher le fichier Open project: scalr/scalr Class Usage Examples

Méthodes publiques

Свойство Type Description
$isScalarizrRequired boolean Is scalr agent (scalarizr) require for the observer

Protected Properties

Свойство Type Description
$DB ADODB_mysqli ADODB instance
$FarmID integer Farm ID
$Logger Logger \Scalr\Logger instance
$container Scalr\DependencyInjection\Container DI Container

Méthodes publiques

Méthode Description
OnBeforeHostTerminate ( BeforeHostTerminateEvent $event )
OnBeforeHostUp ( BeforeHostUpEvent $event )
OnBeforeInstanceLaunch ( BeforeInstanceLaunchEvent $event )
OnCheckFailed ( CheckFailedEvent $event )
OnCheckRecovered ( CheckRecoveredEvent $event )
OnCustomEvent ( CustomEvent $event )
OnEBSVolumeAttached ( EBSVolumeAttachedEvent $event )
OnEBSVolumeMounted ( EBSVolumeMountedEvent $event )
OnFarmLaunched ( FarmLaunchedEvent $event )
OnFarmTerminated ( FarmTerminatedEvent $event )
OnHostDown ( HostDownEvent $event )
OnHostInit ( HostInitEvent $event )
OnHostInitFailed ( HostInitFailedEvent $event )
OnHostUp ( HostUpEvent $event )
OnIPAddressChanged ( IPAddressChangedEvent $event )
OnInstanceLaunchFailed ( InstanceLaunchFailedEvent $event )
OnMysqlBackupComplete ( MysqlBackupCompleteEvent $event )
OnMysqlBackupFail ( MysqlBackupFailEvent $event )
OnNewDbMsrMasterUp ( NewDbMsrMasterUpEvent $event )
OnNewMysqlMasterUp ( NewMysqlMasterUpEvent $event )
OnRebootBegin ( RebootBeginEvent $event )
OnRebootComplete ( RebootCompleteEvent $event )
OnRebundleComplete ( RebundleCompleteEvent $event )
OnRebundleFailed ( RebundleFailedEvent $event )
OnResumeComplete ( ResumeCompleteEvent $event )
SetFarmID ( integer $farmid ) Set FARM ID
__construct ( ) Constructor
getContainer ( ) : Container Gets DI Container

Method Details

OnBeforeHostTerminate() public méthode

See also: Scalr\Observer\EventObserverInterface::OnBeforeHostTerminate()
public OnBeforeHostTerminate ( BeforeHostTerminateEvent $event )
$event BeforeHostTerminateEvent

OnBeforeHostUp() public méthode

See also: Scalr\Observer\EventObserverInterface::OnBeforeHostUp()
public OnBeforeHostUp ( BeforeHostUpEvent $event )
$event BeforeHostUpEvent

OnBeforeInstanceLaunch() public méthode

See also: Scalr\Observer\EventObserverInterface::OnBeforeInstanceLaunch()
public OnBeforeInstanceLaunch ( BeforeInstanceLaunchEvent $event )
$event BeforeInstanceLaunchEvent

OnCheckFailed() public méthode

See also: Scalr\Observer\EventObserverInterface::OnCheckFailed()
public OnCheckFailed ( CheckFailedEvent $event )
$event CheckFailedEvent

OnCheckRecovered() public méthode

See also: Scalr\Observer\EventObserverInterface::OnCheckRecovered()
public OnCheckRecovered ( CheckRecoveredEvent $event )
$event CheckRecoveredEvent

OnCustomEvent() public méthode

See also: Scalr\Observer\EventObserverInterface::OnCustomEvent()
public OnCustomEvent ( CustomEvent $event )
$event CustomEvent

OnEBSVolumeAttached() public méthode

public OnEBSVolumeAttached ( EBSVolumeAttachedEvent $event )
$event EBSVolumeAttachedEvent

OnEBSVolumeMounted() public méthode

See also: Scalr\Observer\EventObserverInterface::OnEBSVolumeMounted()
public OnEBSVolumeMounted ( EBSVolumeMountedEvent $event )
$event EBSVolumeMountedEvent

OnFarmLaunched() public méthode

See also: Scalr\Observer\EventObserverInterface::OnFarmLaunched()
public OnFarmLaunched ( FarmLaunchedEvent $event )
$event FarmLaunchedEvent

OnFarmTerminated() public méthode

See also: Scalr\Observer\EventObserverInterface::OnFarmTerminated()
public OnFarmTerminated ( FarmTerminatedEvent $event )
$event FarmTerminatedEvent

OnHostDown() public méthode

See also: Scalr\Observer\EventObserverInterface::OnHostDown()
public OnHostDown ( HostDownEvent $event )
$event HostDownEvent

OnHostInit() public méthode

See also: Scalr\Observer\EventObserverInterface::OnHostInit()
public OnHostInit ( HostInitEvent $event )
$event HostInitEvent

OnHostInitFailed() public méthode

See also: Scalr\Observer\EventObserverInterface::OnHostInitFailed()
public OnHostInitFailed ( HostInitFailedEvent $event )
$event HostInitFailedEvent

OnHostUp() public méthode

See also: Scalr\Observer\EventObserverInterface::OnHostUp()
public OnHostUp ( HostUpEvent $event )
$event HostUpEvent

OnIPAddressChanged() public méthode

See also: Scalr\Observer\EventObserverInterface::OnIPAddressChanged()
public OnIPAddressChanged ( IPAddressChangedEvent $event )
$event IPAddressChangedEvent

OnInstanceLaunchFailed() public méthode

See also: Scalr\Observer\EventObserverInterface::OnInstanceLaunchFailed()
public OnInstanceLaunchFailed ( InstanceLaunchFailedEvent $event )
$event InstanceLaunchFailedEvent

OnMysqlBackupComplete() public méthode

See also: Scalr\Observer\EventObserverInterface::OnMysqlBackupComplete()
public OnMysqlBackupComplete ( MysqlBackupCompleteEvent $event )
$event MysqlBackupCompleteEvent

OnMysqlBackupFail() public méthode

See also: Scalr\Observer\EventObserverInterface::OnMysqlBackupFail()
public OnMysqlBackupFail ( MysqlBackupFailEvent $event )
$event MysqlBackupFailEvent

OnNewDbMsrMasterUp() public méthode

See also: Scalr\Observer\EventObserverInterface::OnNewDbMsrMasterUp()
public OnNewDbMsrMasterUp ( NewDbMsrMasterUpEvent $event )
$event NewDbMsrMasterUpEvent

OnNewMysqlMasterUp() public méthode

See also: Scalr\Observer\EventObserverInterface::OnNewMysqlMasterUp()
public OnNewMysqlMasterUp ( NewMysqlMasterUpEvent $event )
$event NewMysqlMasterUpEvent

OnRebootBegin() public méthode

See also: Scalr\Observer\EventObserverInterface::OnRebootBegin()
public OnRebootBegin ( RebootBeginEvent $event )
$event RebootBeginEvent

OnRebootComplete() public méthode

See also: Scalr\Observer\EventObserverInterface::OnRebootComplete()
public OnRebootComplete ( RebootCompleteEvent $event )
$event RebootCompleteEvent

OnRebundleComplete() public méthode

See also: Scalr\Observer\EventObserverInterface::OnRebundleComplete()
public OnRebundleComplete ( RebundleCompleteEvent $event )
$event RebundleCompleteEvent

OnRebundleFailed() public méthode

See also: Scalr\Observer\EventObserverInterface::OnRebundleFailed()
public OnRebundleFailed ( RebundleFailedEvent $event )
$event RebundleFailedEvent

OnResumeComplete() public méthode

See also: Scalr\Observer\EventObserverInterface::OnResumeComplete()
public OnResumeComplete ( ResumeCompleteEvent $event )
$event ResumeCompleteEvent

SetFarmID() public méthode

Set FARM ID
public SetFarmID ( integer $farmid )
$farmid integer

__construct() public méthode

Constructor
public __construct ( )

getContainer() public méthode

Gets DI Container
public getContainer ( ) : Container
Résultat Scalr\DependencyInjection\Container

Property Details

$DB protected_oe property

ADODB instance
protected ADODB_mysqli $DB
Résultat ADODB_mysqli

$FarmID protected_oe property

Farm ID
protected int $FarmID
Résultat integer

$Logger protected_oe property

\Scalr\Logger instance
protected Logger $Logger
Résultat Logger

$container protected_oe property

DI Container
protected Container,Scalr\DependencyInjection $container
Résultat Scalr\DependencyInjection\Container

$isScalarizrRequired public_oe property

Is scalr agent (scalarizr) require for the observer
public bool $isScalarizrRequired
Résultat boolean