るりまサーチ

最速Rubyリファレンスマニュアル検索!
48件ヒット [1-48件を表示] (0.014秒)

別のキーワード

  1. tupleentry expires=
  2. tupleentry expired?
  3. tupleentry alive?
  4. tupleentry size

ライブラリ

クラス

キーワード

検索結果

Rinda::TupleEntry#expires -> Time (21107.0)

タプルの期限切れの時刻を返します。

...タプルの期限切れの時刻を返します。

有効期限を無限に指定した場合、この時刻は Time.at(2**31-1)、つまり
Tue Jan 19 03:14:07 GMT Standard Time 2038 を返します。

@see Rinda::TupleEntry#expire...

Rinda::TupleEntry#expires=(expires) (9220.0)

タプルの期限切れの時刻を指定します。

...タプルの期限切れの時刻を指定します。

@param expires 期限切れの時刻(Time)

@see Rinda::TupleEntry#expires...

Rinda::TupleEntry#expired? -> bool (3018.0)

タプルが既に期限切れになっているならば真を返します。

...タプルが既に期限切れになっているならば真を返します。

@see Rinda::TupleEntry#expires, @see Rinda::TupleEntry#renew...

Rinda::TupleEntry#renew(sec_or_renewer) -> () (3012.0)

タプルの有効期限を更新します。

...ewer によって以下のように更新されます。
* nil : 遠い未来(実質的に無限)を指定します。詳しくは Rinda::TupleEntry#expires 参照
* true : 直ちに有効期限切れになるよう指定します
* 数値 : 有効期限を現在から sec_or_renewer 秒後...