%@ 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="java.util.Iterator"%>
<%@ page import="java.util.HashMap"%>
<%@ 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" %>
<% oracle.cabo.share.util.CaboHttpUtils.setNoCacheHeaders(response); %>
<%
TextIndexHealthList bean = (TextIndexHealthList)request.getAttribute("HEALTH_BEAN");
boolean partitionedFlag = bean.getSelectedIndexDetails().isPartitioned();
Long fragmentPercent = bean.getSelectedIndexDetails().getFragmentPercent();
String indexName = bean.getSelectedIndexName();
String indexOwner = bean.getSelectedIndexOwner();
boolean _11gOrHigher = bean.getIfVersion11OrHigher();
String optimizeType = (String) request.getAttribute("OPTIMIZE_TYPE");
String defaultLogFileName = "CTX_"+optimizeType.toUpperCase()+"_OPTMZ_"+ indexName + ".log";
String logFileName = (String)request.getAttribute("logFileName");
if (logFileName == null)
logFileName = defaultLogFileName;
String logFileTip = defaultLogFileName;
Boolean showParallelDegree = new Boolean(false);
if(
optimizeType.equals("Full") ||
optimizeType.equals("Token Type")
)
{
showParallelDegree = new Boolean(true);
}
Boolean showOptimizeTimeOut = new Boolean(false);
if( optimizeType.equals("Full"))
{
showOptimizeTimeOut = new Boolean(true);
}
boolean showToken = false;
if( optimizeType.equals("Token"))
{
showToken = true;
}
boolean showTokenType = false;
if(
optimizeType.equals("Token") ||
optimizeType.equals("Token Type")
)
{
showTokenType = true;
}
String logDir = bean.getCurrentLogDirectory();
%>
<%
StringBuffer oemTitle = (StringBuffer)request.getAttribute("_emSDK_PageTitle");
oemTitle.append("-");
oemTitle.append((String)request.getAttribute("optimizeTitle"));
%>
<%@ include file="/oemTitle.jspf" %>
<%@ include file="/oemGlobal.jspf" %>
<% if (!partitionedFlag) {%>
<%}%>
<% if (showToken) {%>
<%}%>
<% if (showTokenType) {%>
<%}%>
<%if (partitionedFlag) { %>
<%}%>
<%@ include file="/database/txt/textIndexLogging.jspf" %>