1 29 30 package com.caucho.boot; 31 32 import java.io.*; 33 34 import com.caucho.config.ConfigException; 35 36 39 public interface WatchdogAPI { 40 44 public void start(String []argv) 45 throws ConfigException, IllegalStateException , IOException; 46 47 public void restart(String serverId, String []argv) 48 throws ConfigException, IllegalStateException , IOException; 49 50 public void stop(String serverId) 51 throws ConfigException, IllegalStateException , IOException; 52 53 public boolean shutdown() 54 throws IOException; 55 } 56 | Popular Tags |