| Constructor and Description |
|---|
ServerTasks() |
| Modifier and Type | Method and Description |
|---|---|
static void |
fail()
A Hydra TASK that simulates this server failing by executing a
hydra.ClientVmMgr.stopAsync(String,int,long). |
static void |
startFailoverServer()
A Hydra INIT task that starts the failover server in this VM
|
static void |
startServer()
A Hydra INIT task that starts the server in this VM
|
static void |
stopServer()
A Hydra CLOSE task that stops the server
|
public static void startServer()
public static void startFailoverServer()
public static void fail()
throws ClientVmNotFoundException
hydra.ClientVmMgr.stopAsync(String,int,long).ClientVmNotFoundExceptionpublic static void stopServer()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.