All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.att.aft.dme2.cache.hz.HzCacheEntryView Maven / Gradle / Ivy

The newest version!
package com.att.aft.dme2.cache.hz;

import com.att.aft.dme2.cache.domain.CacheElement;
import com.att.aft.dme2.cache.domain.CacheElement.Key;
import com.att.aft.dme2.cache.service.CacheEntryView;
import com.hazelcast.core.IMap;

public class HzCacheEntryView implements CacheEntryView {
	
	private IMap cacheMap = null;
	
	public HzCacheEntryView(final IMap cacheMap){
		this.cacheMap = cacheMap;
	}

	@Override
	public CacheElement getEntry(Key key) {
		return cacheMap.get(key);
	}
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy