Created
February 7, 2012 23:56
-
-
Save ingenthr/1763148 to your computer and use it in GitHub Desktop.
turning off optimization with CouchbaseClient
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| List<URI> baselist = new ArrayList<URI>(); | |
| baselist.add(new URI("http://localhost:8091/pools")); | |
| CouchbaseConnectionFactoryBuilder cfb = new CouchbaseConnectionFactoryBuilder(); | |
| cfb.setShouldOptimize(false); | |
| CouchbaseClient myclient = new CouchbaseClient(cfb.buildCouchbaseConnection(baselist, "default", "default", "")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment