Property | Type | Description | |
---|---|---|---|
$isScalarizrRequired | boolean | Is scalr agent (scalarizr) require for the observer |
Property | Type | Description | |
---|---|---|---|
$DB | ADODB_mysqli | ADODB instance | |
$FarmID | integer | Farm ID | |
$Logger | Logger | \Scalr\Logger instance | |
$container | DI Container |
Method | 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 ( ) : |
Gets DI Container |
public OnBeforeHostTerminate ( BeforeHostTerminateEvent $event ) | ||
$event | BeforeHostTerminateEvent |
public OnBeforeHostUp ( BeforeHostUpEvent $event ) | ||
$event | BeforeHostUpEvent |
public OnBeforeInstanceLaunch ( BeforeInstanceLaunchEvent $event ) | ||
$event | BeforeInstanceLaunchEvent |
public OnCheckFailed ( CheckFailedEvent $event ) | ||
$event | CheckFailedEvent |
public OnCheckRecovered ( CheckRecoveredEvent $event ) | ||
$event | CheckRecoveredEvent |
public OnEBSVolumeAttached ( EBSVolumeAttachedEvent $event ) | ||
$event | EBSVolumeAttachedEvent |
public OnEBSVolumeMounted ( EBSVolumeMountedEvent $event ) | ||
$event | EBSVolumeMountedEvent |
public OnFarmLaunched ( FarmLaunchedEvent $event ) | ||
$event | FarmLaunchedEvent |
public OnFarmTerminated ( FarmTerminatedEvent $event ) | ||
$event | FarmTerminatedEvent |
public OnHostInitFailed ( HostInitFailedEvent $event ) | ||
$event | HostInitFailedEvent |
public OnIPAddressChanged ( IPAddressChangedEvent $event ) | ||
$event | IPAddressChangedEvent |
public OnInstanceLaunchFailed ( InstanceLaunchFailedEvent $event ) | ||
$event | InstanceLaunchFailedEvent |
public OnMysqlBackupComplete ( MysqlBackupCompleteEvent $event ) | ||
$event | MysqlBackupCompleteEvent |
public OnMysqlBackupFail ( MysqlBackupFailEvent $event ) | ||
$event | MysqlBackupFailEvent |
public OnNewDbMsrMasterUp ( NewDbMsrMasterUpEvent $event ) | ||
$event | NewDbMsrMasterUpEvent |
public OnNewMysqlMasterUp ( NewMysqlMasterUpEvent $event ) | ||
$event | NewMysqlMasterUpEvent |
public OnRebootBegin ( RebootBeginEvent $event ) | ||
$event | RebootBeginEvent |
public OnRebootComplete ( RebootCompleteEvent $event ) | ||
$event | RebootCompleteEvent |
public OnRebundleComplete ( RebundleCompleteEvent $event ) | ||
$event | RebundleCompleteEvent |
public OnRebundleFailed ( RebundleFailedEvent $event ) | ||
$event | RebundleFailedEvent |
public OnResumeComplete ( ResumeCompleteEvent $event ) | ||
$event | ResumeCompleteEvent |
public getContainer ( ) : |
||
return |
protected Container,Scalr\DependencyInjection $container | ||
return |
public bool $isScalarizrRequired | ||
return | boolean |