Class CouchbaseManagedConnectionFactory
- java.lang.Object
-
- org.teiid.resource.spi.BasicManagedConnectionFactory
-
- org.teiid.resource.adapter.couchbase.CouchbaseManagedConnectionFactory
-
- All Implemented Interfaces:
Serializable
,javax.resource.spi.ManagedConnectionFactory
,javax.resource.spi.ResourceAdapterAssociation
,javax.resource.spi.ValidatingManagedConnectionFactory
public class CouchbaseManagedConnectionFactory extends BasicManagedConnectionFactory
Represents a managed connection factory instance for createCouchbaseConnection
.- Author:
- kylin
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BundleUtil
UTIL
-
Constructor Summary
Constructors Constructor Description CouchbaseManagedConnectionFactory()
-
Method Summary
-
Methods inherited from class org.teiid.resource.spi.BasicManagedConnectionFactory
checkEquals, createConnectionFactory, createManagedConnection, getInstance, getInvalidConnections, getLogWriter, getResourceAdapter, matchManagedConnections, setLogWriter, setResourceAdapter
-
-
-
-
Field Detail
-
UTIL
public static final BundleUtil UTIL
-
-
Method Detail
-
getManagementTimeout
public Long getManagementTimeout()
-
setManagementTimeout
public void setManagementTimeout(Long managementTimeout)
-
getQueryTimeout
public Long getQueryTimeout()
-
setQueryTimeout
public void setQueryTimeout(Long queryTimeout)
-
getViewTimeout
public Long getViewTimeout()
-
setViewTimeout
public void setViewTimeout(Long viewTimeout)
-
getKvTimeout
public Long getKvTimeout()
-
setKvTimeout
public void setKvTimeout(Long kvTimeout)
-
getSearchTimeout
public Long getSearchTimeout()
-
setSearchTimeout
public void setSearchTimeout(Long searchTimeout)
-
getConnectTimeout
public Long getConnectTimeout()
-
setConnectTimeout
public void setConnectTimeout(Long connectTimeout)
-
getDnsSrvEnabled
public Boolean getDnsSrvEnabled()
-
setDnsSrvEnabled
public void setDnsSrvEnabled(Boolean dnsSrvEnabled)
-
getConnectionString
public String getConnectionString()
-
setConnectionString
public void setConnectionString(String connectionString)
-
getKeyspace
public String getKeyspace()
-
setKeyspace
public void setKeyspace(String keyspace)
-
getNamespace
public String getNamespace()
-
setNamespace
public void setNamespace(String namespace)
-
getPassword
public String getPassword()
-
setPassword
public void setPassword(String password)
-
getTimeUnit
public String getTimeUnit()
-
setTimeUnit
public void setTimeUnit(String timeUnit)
-
getScanConsistency
public String getScanConsistency()
-
setScanConsistency
public void setScanConsistency(String scanConsistency)
-
createConnectionFactory
public BasicConnectionFactory<CouchbaseConnectionImpl> createConnectionFactory() throws javax.resource.ResourceException
- Specified by:
createConnectionFactory
in interfacejavax.resource.spi.ManagedConnectionFactory
- Specified by:
createConnectionFactory
in classBasicManagedConnectionFactory
- Throws:
javax.resource.ResourceException
-
hashCode
public int hashCode()
-
-