クラス QueryStore
java.lang.Object
org.piax.gtrans.ov.ring.rq.QueryStore
public class QueryStore extends Object
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 QueryStore() -
メソッドの概要
修飾子とタイプ メソッド 説明 RemoteValue<?>get(QueryId qid)Get the remote value object corresponds to the query id.intgetExpiredCount()Returns the number of expired remote values.intgetReadCount()Returns the number of read remote values.intgetStoredCount()Returns the number of stored remote values.static voidmain(String[] args)voidput(QueryId qid, RemoteValue<?> rval)Store the remote value object.voidremoveExpired(long expireTime)Remove expired remote value.
-
コンストラクタの詳細
-
QueryStore
public QueryStore()
-
-
メソッドの詳細
-
get
Get the remote value object corresponds to the query id.- パラメータ:
qid- the query id.- 戻り値:
- remote value.
-
put
Store the remote value object.- パラメータ:
qid- the query idrval- the remote value.
-
removeExpired
public void removeExpired(long expireTime)Remove expired remote value.- パラメータ:
expireTime- the duration of the expiration.
-
getStoredCount
public int getStoredCount()Returns the number of stored remote values.- 戻り値:
- the number of stored remote values.
-
getExpiredCount
public int getExpiredCount()Returns the number of expired remote values.- 戻り値:
- the number of expired remote values.
-
getReadCount
public int getReadCount()Returns the number of read remote values.- 戻り値:
- the read count.
-
main
-