<%@ include file="/sdk/oemTop.jspf" %> <%@ include file="/oemNoscript.jspf" %> <%@ page import="oracle.sysman.emo.util.UIXDataSource"%> <%@ page import="oracle.sysman.emo.txt.TextIndexHealthList"%> <%@ page import="oracle.sysman.emo.txt.TextIndexHealthDetails"%> <%@ page import="oracle.sysman.emo.txt.TextIndexStatistics"%> <%@ page import="oracle.sysman.emo.txt.TextIndexObjectDetails"%> <%@ page import="java.util.Iterator"%> <%@ page import="java.util.HashMap"%> <%@ page import="java.util.Date"%> <%@ page import="java.util.ResourceBundle"%> <%@ page import="oracle.sysman.emSDK.util.jdk.NLSUtil"%> <%@ page import="oracle.sysman.db.rsc.txt.TextMsgID"%> <%@ page import="oracle.sysman.db.rsc.txt.TextMsg"%> <%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix" %> <%@ taglib uri="http://xmlns.oracle.com/oem/jsp/tag" prefix="oem" %> <%@ taglib uri="http://xmlns.oracle.com/oem/jsp/tag/db" prefix="db" %> <%@ page import="oracle.sysman.emo.txt.TextIndexHealthList"%> <%@ page import="oracle.cabo.ui.partial.PartialPageUtils"%> <% oracle.cabo.share.util.CaboHttpUtils.setNoCacheHeaders(response); %> <% /* String dest = (String)request.getSession().getAttribute("processingDoneDestination"); if (dest != null) { PartialPageUtils.forceRedirectURL(renderingContext, dest); request.getSession().removeAttribute("processingDoneDestination"); } */ TextIndexHealthList healthObj = (TextIndexHealthList)request.getAttribute("HEALTH_BEAN"); boolean errorOccured = false; ResourceBundle rbt0 = NLSUtil.getBundle(TextMsg.class.getName(), request); StringBuffer oemTitle = (StringBuffer)request.getAttribute("_emSDK_PageTitle"); oemTitle.append("-"); String title = rbt0.getString(TextMsgID.VIEW_INDEX_TITLE); if (healthObj.getException() != null) { HashMap errors = new HashMap(); errors.put("titleText",rbt0.getString(TextMsgID.STATS_PROCESS_ERR_MSG)); errors.put("mainText",healthObj.getException().getMessage()); request.setAttribute("errors",errors); errorOccured = true; } title += healthObj.getSelectedIndexOwner()+"."+healthObj.getSelectedIndexName(); Boolean isPartition = new Boolean(false); String partitionName = healthObj.getSelectedIndexPartitionName(); if (partitionName != null) { title = title + ":" + partitionName; isPartition = new Boolean(true); } String GenPath =healthObj.getIndexViewGeneralPagePath(); Boolean statisticPopulated = new Boolean(false); Boolean showProcessingMsg = new Boolean(false); TextIndexStatistics statsObj = null; TextIndexObjectDetails indexObj = null; statsObj = healthObj.getSelectedIndexStatistics(); indexObj = healthObj.getSelectedIndexObjects(); String refreshedTime = healthObj.getStatsCollectedOn(); if (statsObj != null && indexObj != null) { showProcessingMsg = new Boolean(false); statisticPopulated = new Boolean(true); } else { showProcessingMsg = new Boolean(true); statisticPopulated = new Boolean(false); } /* out.println("Show Processing Message:"+showProcessingMsg.toString()); out.println("StatisticPopulated:"+ statisticPopulated.toString()); if (statsObj != null) { out.println("stats obj is not null"); } if (indexObj != null) { out.println("index obj is not null"); } */ %> <%@ include file="/oemTitle.jspf" %> <%@ include file="/enablePPR.jspf" %> <%@ include file="/oemGlobal.jspf" %> <% if ( !errorOccured && showProcessingMsg.booleanValue()) { %> <%} else if (!errorOccured){ %> <%} %>