Upgraded Spring Data GemFire 1.5 to Spring Framework 4.0.5.

This commit is contained in:
John Blum
2014-06-19 15:44:26 -07:00
parent dec5e95433
commit 8cc46ac0fc
2 changed files with 7 additions and 3 deletions

View File

@@ -67,7 +67,11 @@ public class GemfireCache implements Cache {
return (value == null ? null : new SimpleValueWrapper(value));
}
@SuppressWarnings("unchecked")
public <T> T get(final Object key, final Class<T> type) {
return type.cast(region.get(key));
}
@SuppressWarnings("unchecked")
public void put(Object key, Object value) {
region.put(key, value);
}