public class InstanceAccessUtilImpl extends Object implements InstanceAccessUtil, InstanceUtil
DURABOSS_CONTEXT, DURADMIN_CONTEXT, DURASTORE_CONTEXT| Constructor and Description |
|---|
InstanceAccessUtilImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
instanceAvailable(String hostname)
Checks to see if a DuraCloud instance at the given host name is
available.
|
void |
waitInstanceAvailable(String hostname,
long timeout)
Returns when an instance is available or after the timeout expires,
whichever occurs first.
|
public void waitInstanceAvailable(String hostname, long timeout)
InstanceAccessUtilwaitInstanceAvailable in interface InstanceAccessUtilhostname - of the instance to be checkedtimeout - the maximum number of milliseconds to wait before returningpublic boolean instanceAvailable(String hostname)
InstanceAccessUtilinstanceAvailable in interface InstanceAccessUtilhostname - of the instance to be checkedCopyright © 2009–2016 DuraSpace. All rights reserved.