⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 performancemeter.java

📁 ZK是一个Ajax Java Web框架
💻 JAVA
字号:
/* PerformanceMeter.java{{IS_NOTE	Purpose:			Description:			History:		Fri Aug 24 19:14:55     2007, Created by tomyeh}}IS_NOTECopyright (C) 2007 Potix Corporation. All Rights Reserved.{{IS_RIGHT	This program is distributed under GPL Version 2.0 in the hope that	it will be useful, but WITHOUT ANY WARRANTY.}}IS_RIGHT*/package org.zkoss.zkdemo.test;import org.zkoss.zk.ui.Execution;/** * A simple performance meter. * * @author tomyeh */public class PerformanceMeter implements org.zkoss.zk.ui.util.PerformanceMeter {	public void requestStartAtClient(	String requestId, Execution exec, long time) {		System.out.println("Client start: "+requestId+"="+time);	}	public void requestReceiveAtClient(	String requestId, Execution exec, long time) {		System.out.println("Client recev: "+requestId+"="+time);	}	public void requestCompleteAtClient(	String requestId, Execution exec, long time) {		System.out.println("Client cmplt: "+requestId+"="+time);	}	public void requestStartAtServer(	String requestId, Execution exec, long time) {		System.out.println("Server start: "+requestId+"="+time);	}	public void requestCompleteAtServer(	String requestId, Execution exec, long time) {		System.out.println("Server cmplt: "+requestId+"="+time);	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -