クラス QueryStore

java.lang.Object
org.piax.gtrans.ov.ring.rq.QueryStore

public class QueryStore
extends Object
  • コンストラクタの詳細

  • メソッドの詳細

    • get

      public RemoteValue<?> get​(QueryId qid)
      Get the remote value object corresponds to the query id.
      パラメータ:
      qid - the query id.
      戻り値:
      remote value.
    • put

      public void put​(QueryId qid, RemoteValue<?> rval)
      Store the remote value object.
      パラメータ:
      qid - the query id
      rval - 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

      public static void main​(String[] args)