Skip to content

C2B2/infinispan-memcached-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

infinispan-memcached-store

A Memcached Cache Store to JBoss Infinispan released under the LGPL.

It's intended to allow cache overflowing to Memcached - to have a fast (in-memory) access without paying a performance penalty due long garbage collector cycles.

Configuration

   ConfigurationBuilder configBuilder = new ConfigurationBuilder();
   configBuilder.loaders().addStore(MemcachedStoreConfigurationBuilder.class)
    .hostname("localhost")
    .port(11211)
    .fetchPersistentState(false)
    .ignoreModifications(false)
    .purgeOnStartup(false)
    .async().enable();
   Configuration config = configBuilder.build();
   cacheManager = new DefaultCacheManager(config);

   Cache<K,V> cache = cacheManager.getCache();

This code is brought to you by C2B2 The Leading Independent middleware Experts

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages