/* 186 */ return true;
/* */ }
/* */
/* */ protected void removePassivated(long maxLifeAfterPassivation)
/* */ {
/* 195 */ StatefulSessionPersistenceManager store = this.m_container.getPersistenceManager();
/* 196 */ long now = System.currentTimeMillis();
/* 197 */ log.debug("removePassivated, now=" + now + ", maxLifeAfterPassivation=" + maxLifeAfterPassivation);
/* 198 */ boolean trace = log.isTraceEnabled();
/* 199 */ Iterator entries = this.passivatedIDs.entrySet().iterator();
/* 200 */ while (entries.hasNext())
/* */ {
/* 202 */ Map.Entry entry = (Map.Entry)entries.next();
/* 203 */ Object key = entry.getKey();
/* 204 */ Long value = (Long)entry.getValue();
/* 205 */ if (value != null)
/* */ {
/* 207 */ long passivationTime = value.longValue();
/* 208 */ if (now - passivationTime > maxLifeAfterPassivation)
/* */ {
/* 210 */ preRemovalPreparation(key);
/* 211 */ store.removePassivated(key);
/* 212 */ if (trace) {
/* 213 */ log(key, passivationTime);
/* */ }
/* 215 */ entries.remove();
/* 216 */ postRemovalCleanup(key);