return result;
}
protected void removeSessionsForCache(String[] sessionIds) {
HAManagerBase mgr = (HAManagerBase)this.getManager();
BaseCache mainStoreCachedSessions = this.getMainStoreCache();
synchronized(mainStoreCachedSessions) {
for(int i=0; i<sessionIds.length; i++) {
String nextId = sessionIds[i];
StandardSession nextSess = null;
try {
//SJSAS 6406580 START
//nextSess = (StandardSession)mgr.findSession(nextId);
nextSess = (StandardSession)mgr.findSessionFromCacheOnly(nextId);
//SJSAS 6406580 END
} catch (IOException ex) {}
if(nextSess != null) {
//this should expire and fire the notifications
//but already removed from store
nextSess.expire(true, false);
// Take it out of the cache - remove does not handle nulls
if(nextId != null) {
mainStoreCachedSessions.remove(nextId);
}
}
}
}
}