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

📄 queueview.java

📁 JGRoups源码
💻 JAVA
字号:
// $Id: QUEUEView.java,v 1.1.1.1 2003/09/09 01:24:09 belaban Exp $package org.jgroups.debug;import javax.swing.*;/**   Shows the internals of the QUEUE protocol. Imlements QUEUE.Observer, gets called before an event   is added to the (internal) up- or down-queue of QUEUE (<em>not</em>Protocol !). This allows   to see what's going on in QUEUE. QUEUEView can also query the attributes of QUEUE, e.g. up_vec,   dn_vec etc.<br>   QUEUEView is implemented as a JPanel, and not as a JFrame, so it can be displayed inside the   Debugger's own view.   @author  Bela Ban, July 23 2000*/public class QUEUEView extends ProtocolSpecificView {        public QUEUEView() {  // must have a public constructor, will be created by means of reflection	add(new JButton("QUEUEView: hello world"));    }    }

⌨️ 快捷键说明

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