Examples of BinarySpyMemcachedClientFactory


Examples of org.eclipse.jetty.nosql.memcached.spymemcached.BinarySpyMemcachedClientFactory

        if (cfName.contains("spy")) {
            if (cfName.contains("binary")) {
                if (cfName.contains("heroku")) {
                    clientFactory = new HerokuSpyMemcachedClientFactory();
                } else {
                    clientFactory = new BinarySpyMemcachedClientFactory();
                }
            } else {
                clientFactory = new SpyMemcachedClientFactory();
            }
        } else if (cfName.contains("xmemcached")) {
            if (cfName.contains("binary")) {
              if (cfName.contains("heroku")) {
                  clientFactory = new BinaryXMemcachedClientFactory(); // FIXME: create HerokuXMemcachedClientFactory
              } else {
                  clientFactory = new BinaryXMemcachedClientFactory();
              }
            } else {
                clientFactory = new XMemcachedClientFactory();
            }
        } else {
            if ("true".equals(useMock)) {
                clientFactory = new HashMapClientFactory();
            } else {
                if ("true".equals(useBinary)) {
                    clientFactory = new BinarySpyMemcachedClientFactory();
                } else {
                    clientFactory = new SpyMemcachedClientFactory();
                }
            }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.