id.setUserName(null);
result = distributedCache.get(id);
}
if (result instanceof Cachable) {
Cachable c = (Cachable)result;
if (!c.restore(this.tupleBatchCache, this.bufferManager)) {
result = null;
}
}
}
if (result != null) {
if (result instanceof Cachable) {
Cachable c = (Cachable)result;
AccessInfo info = c.getAccessInfo();
if (info != null && !info.validate(type == Type.RESULTSET, modTime)) {
LogManager.logTrace(LogConstants.CTX_DQP, "Invalidating cache entry", id); //$NON-NLS-1$
if (id.getSessionId() == null) {
this.distributedCache.remove(id);
} else {