public class TestDriver extends Object
Constructor and Description |
---|
TestDriver() |
Modifier and Type | Method and Description |
---|---|
void |
addClients(int num) |
void |
addClientsToNode(String actorName,
int num) |
static akka.actor.ActorRef |
createExampleActor(String name) |
void |
createNodes(int num) |
akka.actor.ActorRef |
getLeader() |
static void |
main(String[] args)
Create nodes, add clients and start logging.
|
void |
printNodes() |
void |
printState() |
void |
reinstateNode(String actorName) |
void |
startAllLogging() |
void |
startLoggingForClient(akka.actor.ActorRef client) |
void |
stopAllLogging() |
void |
stopLoggingForClient(akka.actor.ActorRef client) |
void |
stopNode(String actorName) |
public static void main(String[] args) throws Exception
Note: when run on IDE and on debug log level, the debug logs in AbstractUptypedActor and AbstractUptypedPersistentActor would need to be commented out. Also RaftActor handleCommand(), debug log which prints for every command other than AE/AER
Exception
public static akka.actor.ActorRef createExampleActor(String name)
public void createNodes(int num)
public void addClients(int num)
public void addClientsToNode(String actorName, int num)
public void stopNode(String actorName)
public void reinstateNode(String actorName)
public void startAllLogging()
public void startLoggingForClient(akka.actor.ActorRef client)
public void stopAllLogging()
public void stopLoggingForClient(akka.actor.ActorRef client)
public void printState()
public void printNodes()
public akka.actor.ActorRef getLeader()
Copyright © 2019 OpenDaylight. All rights reserved.