public class ConsulTopologyFraction extends Object implements Fraction<ConsulTopologyFraction>
| Constructor and Description |
|---|
ConsulTopologyFraction() |
ConsulTopologyFraction(String url)
Construct with an agent URL
|
ConsulTopologyFraction(URL url)
Construct with an agent URL
|
| Modifier and Type | Method and Description |
|---|---|
Long |
ttl() |
URL |
url()
Retrieve the configured agent URL.
|
ConsulTopologyFraction |
url(String url)
Set the agent URL
|
ConsulTopologyFraction |
url(URL url)
Set the agent URL
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyDefaults, applyDefaultspublic ConsulTopologyFraction()
public ConsulTopologyFraction(URL url)
url - Agent URLpublic ConsulTopologyFraction(String url) throws MalformedURLException
url - Agent URLMalformedURLExceptionpublic ConsulTopologyFraction url(URL url)
url - The agent URL.public ConsulTopologyFraction url(String url) throws MalformedURLException
url - The agent URL.MalformedURLException - if an error occurs parsing the URL.public URL url()
public Long ttl()
Copyright © 2020 JBoss by Red Hat. All rights reserved.