work.java

来自「JAVA的一些源码 JAVA2 STANDARD EDITION DEVELO」· Java 代码 · 共 37 行

JAVA
37
字号
/* * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */package com.sun.corba.se.spi.orbutil.threadpool;public interface Work {     /**      * This method denotes the actual work that is done by the work item.     */     public void doWork();     /**      * This methods sets the time in millis in the work item, when this     * work item was enqueued in the work queue.     */     public void setEnqueueTime(long timeInMillis);    /**      * This methods gets the time in millis in the work item, when this     * work item was enqueued in the work queue.     */     public long getEnqueueTime();    /**     * This method will return the name of the work item.     */     public String getName(); }// End of file.

⌨️ 快捷键说明

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