public class ClientNodeImpl extends Object implements ClientNodeLocal, ClientNodeRemote
| Modifier and Type | Field and Description |
|---|---|
protected CountDownLatch |
doneLatch
A latch used to wait till the test generation is done
|
protected CountDownLatch |
finishedLatch
A latch used to wait for this process to be fully finished
|
protected Registry |
registry |
protected ExecutorService |
searchExecutor |
| Modifier | Constructor and Description |
|---|---|
protected |
ClientNodeImpl() |
|
ClientNodeImpl(Registry registry) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelCurrentSearch() |
void |
changeState(ClientState state) |
void |
changeState(ClientState state,
ClientStateInformation information) |
void |
doCoverageAnalysis() |
void |
doDependencyAnalysis(String fileName) |
void |
flushStatisticsForClassChange() |
String |
getClientRmiIdentifier() |
boolean |
init() |
void |
printClassStatistics() |
void |
publishPermissionStatistics() |
void |
startNewSearch() |
void |
stop() |
void |
trackOutputVariable(RuntimeVariable variable,
Object value) |
void |
updateProperty(String propertyName,
Object value) |
void |
updateStatistics(Chromosome individual) |
void |
waitUntilDone() |
boolean |
waitUntilFinished(long timeoutInMs) |
protected volatile CountDownLatch doneLatch
protected volatile CountDownLatch finishedLatch
protected Registry registry
protected final ExecutorService searchExecutor
protected ClientNodeImpl()
public ClientNodeImpl(Registry registry)
public void startNewSearch()
throws RemoteException,
IllegalStateException
startNewSearch in interface ClientNodeRemoteRemoteExceptionIllegalStateExceptionpublic void cancelCurrentSearch()
throws RemoteException
cancelCurrentSearch in interface ClientNodeRemoteRemoteExceptionpublic boolean waitUntilFinished(long timeoutInMs)
throws RemoteException,
InterruptedException
waitUntilFinished in interface ClientNodeRemotetimeoutInMs - maximum amount of time we can wait for the client to finishtrue if client is finishedRemoteExceptionInterruptedExceptionpublic void waitUntilDone()
waitUntilDone in interface ClientNodeLocalpublic void changeState(ClientState state)
changeState in interface ClientNodeLocalpublic void changeState(ClientState state, ClientStateInformation information)
changeState in interface ClientNodeLocalpublic void updateStatistics(Chromosome individual)
updateStatistics in interface ClientNodeLocalpublic void flushStatisticsForClassChange()
flushStatisticsForClassChange in interface ClientNodeLocalpublic void updateProperty(String propertyName, Object value)
updateProperty in interface ClientNodeLocalpublic void trackOutputVariable(RuntimeVariable variable, Object value)
trackOutputVariable in interface ClientNodeLocalpublic void publishPermissionStatistics()
publishPermissionStatistics in interface ClientNodeLocalpublic void stop()
public boolean init()
init in interface ClientNodeLocalpublic String getClientRmiIdentifier()
public void doCoverageAnalysis()
throws RemoteException
doCoverageAnalysis in interface ClientNodeRemoteRemoteExceptionpublic void doDependencyAnalysis(String fileName) throws RemoteException
doDependencyAnalysis in interface ClientNodeRemoteRemoteExceptionpublic void printClassStatistics()
throws RemoteException
printClassStatistics in interface ClientNodeRemoteRemoteExceptionCopyright © 2010–2017 EvoSuite. All rights reserved.