public static class FakeServerInventory.CompleteDiscoveryChecker extends Object
waitForDiscoveryComplete() on an instance of this class
for the complete discovery to finish in case your
fake server commits some resources (which starts off
asynchronous discovery of children).| Constructor and Description |
|---|
FakeServerInventory.CompleteDiscoveryChecker(int expectedDepth) |
| Modifier and Type | Method and Description |
|---|---|
int |
getExpectedDepth() |
void |
waitForDiscoveryComplete() |
void |
waitForDiscoveryComplete(long timeoutMillis) |
public FakeServerInventory.CompleteDiscoveryChecker(int expectedDepth)
public void waitForDiscoveryComplete()
throws InterruptedException
InterruptedExceptionpublic void waitForDiscoveryComplete(long timeoutMillis)
throws InterruptedException
InterruptedExceptionpublic int getExpectedDepth()
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.