Collection<DialogFragmentExtraParams> dfResult =
new LinkedList<DialogFragmentExtraParams>();
if (_logger.isLoggable(Level.FINE)) {
_logger.fine("in " + this.getClass().getName() + ">>_findByCriteria_ExpiredDF");
}
BaseCache replicatedDialogFragmentsCache = getReplicatedDialogFragments();
ReplicationHealthChecker healthChecker
= ReplicationHealthChecker.getInstance();
int expiredReplicas = 0;
for (Iterator it = replicatedDialogFragmentsCache.keys(); it.hasNext();) {
ReplicationState nextState = (ReplicationState)
replicatedDialogFragmentsCache.get((String) it.next());
if (!ExpatListHandler.isExpatExtraDurationInEffect()
&& !ExpatListHandler.isExpatInProgress()
&& isExpiredDialogFragmentReplica(nextState)) {
expiredReplicas++;
dfResult.add(getDialogFragmentExtraParamsFrom(nextState));