com.neeve.daemon.controller
Interface IDmnControllerLauncher


public interface IDmnControllerLauncher

The daemon controller launcher interface.

This is the interface through which the daemon controller communicates with the daemon launcher i.e. the entity that launched the controller and invoked its start method. This interface should be implemented by the launcher and set in the controller before the controller is started.


Method Summary
 void executeVMKill()
          Requests for a VM kill.
 void executeVMRestart()
          Requests for a VM restart.
 

Method Detail

executeVMRestart

void executeVMRestart()
                      throws Exception
Requests for a VM restart.

Throws:
Exception
Threading:
This method can be invoked concurrently by multiple threads.

The controller invokes this method to request for the VM in which the controller is running to be restarted. The launcher should throw an exception in case VM restart is not supported.


executeVMKill

void executeVMKill()
                   throws Exception
Requests for a VM kill.

Throws:
Exception
Threading:
This method can be invoked concurrently by multiple threads.

The controller invokes this method to request for the VM in which the controller is running to be forcibly terminate. The launcher should throw an exception in case VM kill is not supported.



Copyright © 2015 Neeve Research, LLC. All Rights Reserved.