public boolean isTimeOut()
{
return isTimeOut;
}
public String toString()
{
StringBuilder sb = new StringBuilder();
for (int i = 0; i < cmdarray.length; i++)
{
sb.append(cmdarray[i]).append(" ");
}
return sb.toString();
}
/**
* @see com.security.dpi.basic.debug.DebugBean#processDebugRequest(java.util.Map)
*/
public String processDebugRequest(Map<String, Object> paramMap)
{
if (paramMap != null && paramMap.size() > 0)
{
if (paramMap.containsKey("Close"))
{
isOpenDaemonThread = false;
}
else if (paramMap.containsKey("Open"))
{
isOpenDaemonThread = true;
}
}
StringBuilder out = new StringBuilder();
out.append("The sqlload daemon thread switch: ").append(
isOpenDaemonThread ? "Open" : "Close");
return out.toString();
}
}
{
return isTimeOut;
}
public String toString()
{
StringBuilder sb = new StringBuilder();
for (int i = 0; i < cmdarray.length; i++)
{
sb.append(cmdarray[i]).append(" ");
}
return sb.toString();
}
/**
* @see com.security.dpi.basic.debug.DebugBean#processDebugRequest(java.util.Map)
*/
public String processDebugRequest(Map<String, Object> paramMap)
{
if (paramMap != null && paramMap.size() > 0)
{
if (paramMap.containsKey("Close"))
{
isOpenDaemonThread = false;
}
else if (paramMap.containsKey("Open"))
{
isOpenDaemonThread = true;
}
}
StringBuilder out = new StringBuilder();
out.append("The sqlload daemon thread switch: ").append(
isOpenDaemonThread ? "Open" : "Close");
return out.toString();
}
}