public class TapConnectionProvider extends TapConnectionProvider implements Reconfigurable
authDescriptor, authMonitor, conn, opFact, shuttingDown, tcService| Constructor and Description |
|---|
TapConnectionProvider(CouchbaseConnectionFactory cf)
Get a tap connection based on the REST response from a Couchbase server.
|
TapConnectionProvider(java.util.List<java.net.URI> baseList,
java.lang.String bucketName,
java.lang.String pwd)
Get a tap connection based on the REST response from a Couchbase server.
|
| Modifier and Type | Method and Description |
|---|---|
void |
reconfigure(Bucket bucket)
Call on a configuration update.
|
boolean |
removeObserver(ConnectionObserver obs)
Remove a connection observer.
|
void |
shutdown()
Shut down immediately.
|
addObserver, addTapAckOp, broadcastOp, connectionEstablished, connectionLost, getOpFactory, shutdown, waitForQueuespublic TapConnectionProvider(java.util.List<java.net.URI> baseList,
java.lang.String bucketName,
java.lang.String pwd)
throws java.io.IOException,
javax.naming.ConfigurationException
baseList - A list of URI's to use for getting cluster information.bucketName - The name of the bucket to connect to.pwd - The password for the bucket.java.io.IOExceptionConfigurationExceptionpublic TapConnectionProvider(CouchbaseConnectionFactory cf) throws java.io.IOException, javax.naming.ConfigurationException
cf - A connection factory to create the tap stream withjava.io.IOExceptionConfigurationExceptionpublic boolean removeObserver(ConnectionObserver obs)
removeObserver in class TapConnectionProviderobs - the ConnectionObserver you wish to addpublic void reconfigure(Bucket bucket)
Reconfigurablereconfigure in interface Reconfigurablebucket - updated vbucket configurationpublic void shutdown()
TapConnectionProvidershutdown in class TapConnectionProviderCopyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.