public Object remove(Object key, String group) {
if (key==null || group==null) {
throw new NullPointerException("This Map does not permit null keys.");
}
CacheRegion region = acc.getRegion();
CacheGroup group2 = region.getGroup(group);
if (group2 == null) {
return null;
}
CacheObject object = (CacheObject) group2.get(key);
if(object==null) {
return null;
}
object.invalidate();
return object.get();