Brooklyn

brooklyn.entity.basic
[Java] Class SoftwareProcessDriverLifecycleEffectorTasks

java.lang.Object
  brooklyn.entity.software.MachineLifecycleEffectorTasks
      brooklyn.entity.basic.SoftwareProcessDriverLifecycleEffectorTasks

@Beta
public class SoftwareProcessDriverLifecycleEffectorTasks
extends MachineLifecycleEffectorTasks

Thin shim delegating to driver to do start/stop/restart, wrapping as tasks, with common code pulled up to MachineLifecycleEffectorTasks for non-driver usage

Since:
0.6.0


Field Summary
 
Fields inherited from class MachineLifecycleEffectorTasks
LOCATIONS
 
Method Summary
protected SoftwareProcessImpl entity()

protected java.util.Map obtainProvisioningFlags(MachineProvisioningLocation location)

protected void postStartCustom()

protected void preStartCustom(MachineLocation machine)

protected void preStopCustom()

void restart()

protected java.lang.String startProcessesAtMachine(Supplier machineS)

protected java.lang.String stopProcessesAtMachine()

 
Methods inherited from class MachineLifecycleEffectorTasks
attachLifecycleEffectors, entity, getLocation, newRestartEffector, newRestartEffectorTask, newStartEffector, newStartEffectorTask, newStopEffector, newStopEffectorTask, obtainProvisioningFlags, postStartAtMachineAsync, postStartCustom, preStartAtMachineAsync, preStartCustom, preStopCustom, provisionAsync, restart, start, startInLocation, startInLocations, startProcessesAtMachine, stop, stopAnyProvisionedMachines, stopProcessesAtMachine
 

Method Detail

entity

@Override
protected SoftwareProcessImpl entity()


obtainProvisioningFlags

@Override
protected java.util.Map obtainProvisioningFlags(MachineProvisioningLocation location)


postStartCustom

entity().postDriverStart();
protected void postStartCustom()


preStartCustom

@Override
protected void preStartCustom(MachineLocation machine)


preStopCustom

protected void preStopCustom()


restart

@Override
public void restart()


startProcessesAtMachine

entity().getDriver().start();
protected java.lang.String startProcessesAtMachine(Supplier machineS)


stopProcessesAtMachine

entity().getDriver().stop();
protected java.lang.String stopProcessesAtMachine()


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.