org.fusesource.process.manager
Interface ProcessController
- All Known Implementing Classes:
- DefaultProcessController
public interface ProcessController
Controls a process
install
int install()
throws java.lang.InterruptedException,
java.io.IOException,
CommandFailedException
- Throws:
java.lang.InterruptedException
java.io.IOException
CommandFailedException
uninstall
int uninstall()
start
int start()
throws java.lang.Exception
- Throws:
java.lang.Exception
stop
int stop()
throws java.lang.Exception
- Throws:
java.lang.Exception
kill
int kill()
throws java.lang.Exception
- Throws:
java.lang.Exception
restart
int restart()
throws java.lang.Exception
- Throws:
java.lang.Exception
status
int status()
throws java.lang.Exception
- Throws:
java.lang.Exception
configure
int configure()
throws java.lang.Exception
- Throws:
java.lang.Exception
getPid
java.lang.Integer getPid()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2013 Red Hat. All Rights Reserved.