Package com.googlecode.hibernate.memcached

Examples of com.googlecode.hibernate.memcached.PropertiesHelper


        testProperties.get("test.memcached.servers"));

  }

  public void testXmemcachedClient() throws Exception {
    PropertiesHelper propertiesHelper = new PropertiesHelper(
        this.properties);
    XmemcachedClientFactory clientFactory = new XmemcachedClientFactory(
        propertiesHelper);
    Memcache cache = clientFactory.createMemcacheClient();
    testCache(cache);
View Full Code Here


    cache.delete("c");
    assertNull(cache.get("c"));
  }
 
  public void testSpymemcacheClient() throws Exception {
    PropertiesHelper propertiesHelper = new PropertiesHelper(
        this.properties);
    SpyMemcacheClientFactory clientFactory = new SpyMemcacheClientFactory(
        propertiesHelper);
    Memcache cache = clientFactory.createMemcacheClient();
    testCache(cache);
View Full Code Here

TOP

Related Classes of com.googlecode.hibernate.memcached.PropertiesHelper

Copyright © 2018 www.massapicom. 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.