public interface RegistryService
| Modifier and Type | Method and Description |
|---|---|
Boolean |
isReady()
This method checks if the registry is not handling any tasks and is currently consistent.
|
void |
waitUntilReady()
Method blocks until the registry is not handling any tasks and is currently consistent.
|
Future<Void> |
waitUntilReadyFuture()
Method blocks until the registry is not handling any tasks and is currently consistent.
|
Boolean isReady() throws InterruptedException
InterruptedExceptionvoid waitUntilReady()
throws InterruptedException,
CouldNotPerformException
InterruptedException - is thrown in case the thread was externally interrupted.CouldNotPerformException - is thrown if the wait could not be performed.Future<Void> waitUntilReadyFuture()
Copyright © 2015–2018 openbase.org. All rights reserved.