|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.coherence.transaction.ConnectionSpecImpl
public class ConnectionSpecImpl
The connection spec implementation used to pass the connection info to the connection request on the connection factory.
Constructor Summary | |
---|---|
ConnectionSpecImpl() Constructor |
|
ConnectionSpecImpl(java.lang.String sServiceName) Constructor |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj) Indicates whether some other object is "equal to" this one. |
java.lang.ClassLoader |
getClassLoader() Get the class loader for which the configuration should be used. |
java.lang.String |
getConfigURI() Get the configuration URI used to create the connection. |
Isolation |
getIsolation() Get the transaction isolation for this connection. |
java.lang.String |
getServiceName() Get the name of the service that will be associated with any connection obtained with this connection spec. |
int |
getTimeout() Obtain the transaction timeout for this connection. |
XmlElement |
getXmlConfig() Get the cache configuration in xml element format used to create the connection. |
int |
hashCode() Returns a hash code value for the object. |
boolean |
isAutoCommit() Get the auto commit option. |
boolean |
isEager() Get the eager mode value. |
void |
setClassLoader(java.lang.ClassLoader loader) Set the class loader for which the configuration should be used. |
void |
setCommitOption(boolean fCommitOption) Set the auto commit option. |
void |
setConfigURI(java.lang.String sConfigURI) Set the configuration URI used to create the connection. |
void |
setEager(boolean fEager) Set the eager mode value. |
void |
setIsolation(Isolation isolation) Set the transaction isolation for the connection. |
void |
setServiceName(java.lang.String sServiceName) Set the name of the service that will be associated with any connection obtained with this connection spec. |
void |
setTimeout(int nSeconds) Set the transactions timeout for the connection. |
void |
setXmlConfig(XmlElement xmlConfig) Set the cache configuration in xml element format used to create the connection. |
Constructor Detail |
---|
public ConnectionSpecImpl()
public ConnectionSpecImpl(java.lang.String sServiceName)
sServiceName
- the service to be associated with the connectionMethod Detail |
---|
public java.lang.String getServiceName()
getServiceName
in interface ConnectionFactory.ConnectionSpec
public java.lang.String getConfigURI()
getConfigURI
in interface ConnectionFactory.ConnectionSpec
public XmlElement getXmlConfig()
xml element format
used to create the connection.getXmlConfig
in interface ConnectionFactory.ConnectionSpec
public java.lang.ClassLoader getClassLoader()
getClassLoader
in interface ConnectionFactory.ConnectionSpec
public boolean isAutoCommit()
isAutoCommit
in interface ConnectionFactory.ConnectionSpec
public Isolation getIsolation()
transaction isolation
for this connection.getIsolation
in interface ConnectionFactory.ConnectionSpec
public boolean isEager()
isEager
in interface ConnectionFactory.ConnectionSpec
public int getTimeout()
getTimeout
in interface ConnectionFactory.ConnectionSpec
public void setServiceName(java.lang.String sServiceName)
sServiceName
- the name of the servicepublic void setConfigURI(java.lang.String sConfigURI)
sConfigURI
- the configuration URIpublic void setXmlConfig(XmlElement xmlConfig)
xml element format
used to create the connection.xmlConfig
- the cache configuration in xml element formatpublic void setClassLoader(java.lang.ClassLoader loader)
loader
- the class loaderpublic void setCommitOption(boolean fCommitOption)
fCommitOption
- the auto commit optionpublic void setIsolation(Isolation isolation)
isolation
- the transaction isolationpublic void setEager(boolean fEager)
fEager
- the eager mode; false indicates that cache operations will potentially be delayed and submitted in batch form.public void setTimeout(int nSeconds)
nSeconds
- the timeout in secondspublic int hashCode()
public boolean equals(java.lang.Object obj)
obj
- the reference object with which to compare.
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |