Package org.infinispan.schematic.internal

Examples of org.infinispan.schematic.internal.CacheSchematicDb


     */
    public static SchematicDb get( CacheContainer cacheContainer,
                                   String cacheName ) {
        Cache<String, SchematicEntry> rawCache = cacheContainer.getCache(cacheName);
        AdvancedCache<String, SchematicEntry> cache = rawCache.getAdvancedCache();
        return new CacheSchematicDb(cache);
    }
View Full Code Here


     *
     * @param cache the cache to be used for storage; may not be null
     * @return the schematic database instance; never null
     */
    public static SchematicDb get( Cache<String, SchematicEntry> cache ) {
        return new CacheSchematicDb(cache.getAdvancedCache());
    }
View Full Code Here

TOP

Related Classes of org.infinispan.schematic.internal.CacheSchematicDb

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.