public class FutureValues extends Object
| コンストラクタと説明 |
|---|
FutureValues() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
discardFuture(int n) |
boolean |
expired(int n) |
Object |
get(int n,
long timeout) |
int |
newFuture()
新規にFutureを生成し、登録番号を返す。
|
void |
set(int n) |
void |
set(int n,
Object value) |
public int newFuture()
public void discardFuture(int n)
public void set(int n)
public void set(int n,
Object value)
public Object get(int n, long timeout) throws TimeoutException
TimeoutExceptionpublic boolean expired(int n)
Copyright © 2017. All rights reserved.