public void processRemoveids(ReplicationState message) {
if(_logger.isLoggable(Level.FINE)) {
_logger.fine("IN" + this.getClass().getName() + ">>processRemoveids");
}
BaseCache replicatedSessionsCache = getReplicatedSessions();
//state of this message contains serialized list of ids to remove
byte[] idsToRemoveState = message.getState();
List removedIdsList = new ArrayList();
try {
removedIdsList = (List)ReplicationState.getObjectValue(idsToRemoveState);
} catch (Exception ex) {
//deliberately do nothing
}
//ReplicationState.displayStringList(removedIdsList);
for(int i=0; i<removedIdsList.size(); i++) {
String nextIdToRemove = (String)removedIdsList.get(i);
if(_logger.isLoggable(Level.FINE)) {
_logger.fine(">>processRemoveids:nextIdToRemove=" + nextIdToRemove);
}
replicatedSessionsCache.remove(nextIdToRemove);
}
}