|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.ehcache.config.TerracottaClientConfiguration
public class TerracottaClientConfiguration
Holds the Terracotta configuration for a particular client
Constructor Summary | |
---|---|
TerracottaClientConfiguration()
|
Method Summary | |
---|---|
TerracottaClientConfiguration |
clone()
Clones this object, following the usual contract. |
void |
extractTcconfig(java.lang.String text)
Tell the BeanHandler to extract the entire subtree xml as text at element |
java.lang.String |
getEmbeddedConfig()
Get the embedded config read as |
java.lang.String |
getOriginalEmbeddedConfig()
Get the original embedded config |
java.lang.String |
getUrl()
Get url string |
boolean |
isUrlConfig()
Helper to check whether this is url config or embedded config |
void |
setUrl(java.lang.String url)
Set url |
TerracottaClientConfiguration |
url(java.lang.String url)
Builder method to set the URL. |
TerracottaClientConfiguration |
url(java.lang.String host,
java.lang.String port)
Builder method to set the URL for a host and a port. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TerracottaClientConfiguration()
Method Detail |
---|
public TerracottaClientConfiguration clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public final TerracottaClientConfiguration url(java.lang.String url)
url
- the URL to set
public final TerracottaClientConfiguration url(java.lang.String host, java.lang.String port)
host
- the host where to get the Terracotta configuration fromport
- the port on that host
public final void setUrl(java.lang.String url)
public final java.lang.String getUrl()
public final void extractTcconfig(java.lang.String text)
public final java.lang.String getEmbeddedConfig()
public final java.lang.String getOriginalEmbeddedConfig()
public final boolean isUrlConfig()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |