PHP 클래스 Scalr\Observer\AbstractEventObserver

상속: implements Scalr\Observer\EventObserverInterface
파일 보기 프로젝트 열기: scalr/scalr 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$isScalarizrRequired boolean Is scalr agent (scalarizr) require for the observer

보호된 프로퍼티들

프로퍼티 타입 설명
$DB ADODB_mysqli ADODB instance
$FarmID integer Farm ID
$Logger Logger \Scalr\Logger instance
$container Scalr\DependencyInjection\Container DI Container

공개 메소드들

메소드 설명
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

메소드 상세

OnBeforeHostTerminate() 공개 메소드

또한 보기: Scalr\Observer\EventObserverInterface::OnBeforeHostTerminate()
public OnBeforeHostTerminate ( BeforeHostTerminateEvent $event )
$event BeforeHostTerminateEvent

OnBeforeHostUp() 공개 메소드

또한 보기: Scalr\Observer\EventObserverInterface::OnBeforeHostUp()
public OnBeforeHostUp ( BeforeHostUpEvent $event )
$event BeforeHostUpEvent

OnBeforeInstanceLaunch() 공개 메소드

또한 보기: Scalr\Observer\EventObserverInterface::OnBeforeInstanceLaunch()
public OnBeforeInstanceLaunch ( BeforeInstanceLaunchEvent $event )
$event BeforeInstanceLaunchEvent

OnCheckFailed() 공개 메소드

또한 보기: Scalr\Observer\EventObserverInterface::OnCheckFailed()
public OnCheckFailed ( CheckFailedEvent $event )
$event CheckFailedEvent

OnCheckRecovered() 공개 메소드

또한 보기: Scalr\Observer\EventObserverInterface::OnCheckRecovered()
public OnCheckRecovered ( CheckRecoveredEvent $event )
$event CheckRecoveredEvent

OnCustomEvent() 공개 메소드

또한 보기: Scalr\Observer\EventObserverInterface::OnCustomEvent()
public OnCustomEvent ( CustomEvent $event )
$event CustomEvent

OnEBSVolumeAttached() 공개 메소드

public OnEBSVolumeAttached ( EBSVolumeAttachedEvent $event )
$event EBSVolumeAttachedEvent

OnEBSVolumeMounted() 공개 메소드

또한 보기: Scalr\Observer\EventObserverInterface::OnEBSVolumeMounted()
public OnEBSVolumeMounted ( EBSVolumeMountedEvent $event )
$event EBSVolumeMountedEvent

OnFarmLaunched() 공개 메소드

또한 보기: Scalr\Observer\EventObserverInterface::OnFarmLaunched()
public OnFarmLaunched ( FarmLaunchedEvent $event )
$event FarmLaunchedEvent

OnFarmTerminated() 공개 메소드

또한 보기: Scalr\Observer\EventObserverInterface::OnFarmTerminated()
public OnFarmTerminated ( FarmTerminatedEvent $event )
$event FarmTerminatedEvent

OnHostDown() 공개 메소드

또한 보기: Scalr\Observer\EventObserverInterface::OnHostDown()
public OnHostDown ( HostDownEvent $event )
$event HostDownEvent

OnHostInit() 공개 메소드

또한 보기: Scalr\Observer\EventObserverInterface::OnHostInit()
public OnHostInit ( HostInitEvent $event )
$event HostInitEvent

OnHostInitFailed() 공개 메소드

또한 보기: Scalr\Observer\EventObserverInterface::OnHostInitFailed()
public OnHostInitFailed ( HostInitFailedEvent $event )
$event HostInitFailedEvent

OnHostUp() 공개 메소드

또한 보기: Scalr\Observer\EventObserverInterface::OnHostUp()
public OnHostUp ( HostUpEvent $event )
$event HostUpEvent

OnIPAddressChanged() 공개 메소드

또한 보기: Scalr\Observer\EventObserverInterface::OnIPAddressChanged()
public OnIPAddressChanged ( IPAddressChangedEvent $event )
$event IPAddressChangedEvent

OnInstanceLaunchFailed() 공개 메소드

또한 보기: Scalr\Observer\EventObserverInterface::OnInstanceLaunchFailed()
public OnInstanceLaunchFailed ( InstanceLaunchFailedEvent $event )
$event InstanceLaunchFailedEvent

OnMysqlBackupComplete() 공개 메소드

또한 보기: Scalr\Observer\EventObserverInterface::OnMysqlBackupComplete()
public OnMysqlBackupComplete ( MysqlBackupCompleteEvent $event )
$event MysqlBackupCompleteEvent

OnMysqlBackupFail() 공개 메소드

또한 보기: Scalr\Observer\EventObserverInterface::OnMysqlBackupFail()
public OnMysqlBackupFail ( MysqlBackupFailEvent $event )
$event MysqlBackupFailEvent

OnNewDbMsrMasterUp() 공개 메소드

또한 보기: Scalr\Observer\EventObserverInterface::OnNewDbMsrMasterUp()
public OnNewDbMsrMasterUp ( NewDbMsrMasterUpEvent $event )
$event NewDbMsrMasterUpEvent

OnNewMysqlMasterUp() 공개 메소드

또한 보기: Scalr\Observer\EventObserverInterface::OnNewMysqlMasterUp()
public OnNewMysqlMasterUp ( NewMysqlMasterUpEvent $event )
$event NewMysqlMasterUpEvent

OnRebootBegin() 공개 메소드

또한 보기: Scalr\Observer\EventObserverInterface::OnRebootBegin()
public OnRebootBegin ( RebootBeginEvent $event )
$event RebootBeginEvent

OnRebootComplete() 공개 메소드

또한 보기: Scalr\Observer\EventObserverInterface::OnRebootComplete()
public OnRebootComplete ( RebootCompleteEvent $event )
$event RebootCompleteEvent

OnRebundleComplete() 공개 메소드

또한 보기: Scalr\Observer\EventObserverInterface::OnRebundleComplete()
public OnRebundleComplete ( RebundleCompleteEvent $event )
$event RebundleCompleteEvent

OnRebundleFailed() 공개 메소드

또한 보기: Scalr\Observer\EventObserverInterface::OnRebundleFailed()
public OnRebundleFailed ( RebundleFailedEvent $event )
$event RebundleFailedEvent

OnResumeComplete() 공개 메소드

또한 보기: Scalr\Observer\EventObserverInterface::OnResumeComplete()
public OnResumeComplete ( ResumeCompleteEvent $event )
$event ResumeCompleteEvent

SetFarmID() 공개 메소드

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

__construct() 공개 메소드

Constructor
public __construct ( )

getContainer() 공개 메소드

Gets DI Container
public getContainer ( ) : Container
리턴 Scalr\DependencyInjection\Container

프로퍼티 상세

$DB 보호되어 있는 프로퍼티

ADODB instance
protected ADODB_mysqli $DB
리턴 ADODB_mysqli

$FarmID 보호되어 있는 프로퍼티

Farm ID
protected int $FarmID
리턴 integer

$Logger 보호되어 있는 프로퍼티

\Scalr\Logger instance
protected Logger $Logger
리턴 Logger

$container 보호되어 있는 프로퍼티

DI Container
protected Container,Scalr\DependencyInjection $container
리턴 Scalr\DependencyInjection\Container

$isScalarizrRequired 공개적으로 프로퍼티

Is scalr agent (scalarizr) require for the observer
public bool $isScalarizrRequired
리턴 boolean