All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.taobao.hsf.util.concurrent.SettableFuture Maven / Gradle / Ivy

There is a newer version: 1.8.3
Show newest version
package com.taobao.hsf.util.concurrent;

public interface SettableFuture extends ListenableFuture {

    /**
     * 
     * 设置值到当前的Future
     * 
     * 
* * @param v * @return 如果设置成功返回true,反之当前Future已经设置或者被取消,返回false */ boolean set(V v); boolean setException(Throwable throwable); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy