Package com.hazelcast.hibernate.local

Examples of com.hazelcast.hibernate.local.LocalRegionCache


    }

    public EntityRegion buildEntityRegion(final String regionName, final Properties properties,
                                          final CacheDataDescription metadata) throws CacheException {
        final HazelcastEntityRegion<LocalRegionCache> region = new HazelcastEntityRegion<LocalRegionCache>(instance,
                regionName, properties, metadata, new LocalRegionCache(regionName, instance, metadata));
        cleanupService.registerCache(region.getCache());
        return region;
    }
View Full Code Here


    public HazelcastQueryResultsRegion(final HazelcastInstance instance, final String name, final Properties props) {
        // Note: The HazelcastInstance _must_ be passed down here. Otherwise query caches
        // cannot be configured and will always use defaults. However, even though we're
        // passing the HazelcastInstance, we don't want to use an ITopic for invalidation
        // because the timestamps cache can take care of outdated queries
        super(instance, name, props, new LocalRegionCache(name, instance, null, false));
    }
View Full Code Here

TOP

Related Classes of com.hazelcast.hibernate.local.LocalRegionCache

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.