前言
相关系列
- 《Java & Executor & 目录》
- 《Java & Executor & ScheduledFuture & 源码》
- 《Java & Executor & ScheduledFuture & 总结》
- 《Java & Executor & ScheduledFuture & 问题》
涉及内容
概述
源码
/*
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
/*
*
*
*
*
*
* Written by Doug Lea with assistance from members of JCP JSR-166
* Expert Group and released to the public domain, as explained at
* http://creativecommons.org/publicdomain/zero/1.0/
*/
package juc;
/**
* A delayed result-bearing action that can be cancelled. Usually a scheduled future is the result of scheduling a task
* with a {@link ScheduledExecutorService}.
* 一个可以取消的延迟的产生结果的行为。通常一个计划未来被安排为计划执行器服务任务的结果。
*
* @param <V> The result type returned by this Future 当前未来返回的结果类型
* @author Doug Lea
* @since 1.5
*/
public interface ScheduledFuture<V> extends Delayed, Future<V> {
}