Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package io.leopard.topnb.controller;
 
性能监控数据

Author(s):
阿海
public class TopnbController {
	protected Log logger = LogFactory.getLog(this.getClass());
	private Date serverStartTime = new Date();
	@RequestMapping("/topnb/index.do")
	public FtlView performance(String entryNameString orderString postdateString proxyIp) {
		entryName = StringUtils.defaultString(entryName);
		List<PerformanceVOperformanceVOList = .list(entryNamepostdate);
		String typeName = .getTypeName(entryName);
		Collections.sort(performanceVOListgetComparator(order));
		FtlView view = new FtlView("/topnb/ftl/""performance");
		view.addObject("performanceVOList"performanceVOList);
		view.addObject("entryNameList"entryNameList);
		view.addObject("serverStartTime");
		view.addObject("serverIp""127.0.0.1");
		view.addObject("currentEntryName"entryName);
		view.addObject("typeName"typeName);
		view.addObject("anomalyDetector"new PerformanceAnomalyDetector(performanceVOList));
		return view;
	}
	@RequestMapping("/topnb/file.do")
	public FileView file() {
		return new FileView("/topnb/htdocs/");
	}
		if ("totalTime".equals(order)) {
		}
		else if ("avgTime".equals(order)) {
		}
		else if ("totalCount".equals(order)) {
		}
	}
New to GrepCode? Check out our FAQ X