Package org.infinispan.container

Examples of org.infinispan.container.LRUSimpleDataContainer


         case NONE:
            return (T) new SimpleDataContainer(configuration.getConcurrencyLevel());
         case FIFO:
            return (T) new FIFOSimpleDataContainer(configuration.getConcurrencyLevel());
         case LRU:
            return (T) new LRUSimpleDataContainer(configuration.getConcurrencyLevel());
         default:
            throw new ConfigurationException("Unknown eviction strategy " + configuration.getEvictionStrategy());
      }
   }
View Full Code Here


         case UNORDERED:
            return (T) new SimpleDataContainer(configuration.getConcurrencyLevel());
         case FIFO:
            return (T) new FIFOSimpleDataContainer(configuration.getConcurrencyLevel());
         case LRU:
            return (T) new LRUSimpleDataContainer(configuration.getConcurrencyLevel());
         default:
            throw new ConfigurationException("Unknown eviction strategy " + configuration.getEvictionStrategy());
      }
   }
View Full Code Here

TOP

Related Classes of org.infinispan.container.LRUSimpleDataContainer

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.