66件ヒット
[1-66件を表示]
(0.029秒)
種類
- 特異メソッド (33)
- クラス (22)
- インスタンスメソッド (11)
クラス
-
Rinda
:: DRbObjectTemplate (11) -
Rinda
:: SimpleRenewer (22) -
Rinda
:: TupleSpaceProxy (11)
キーワード
- SimpleRenewer (11)
- Template (11)
- renew (11)
検索結果
先頭5件
-
Rinda
:: SimpleRenewer . new(sec = 180) -> Rinda :: SimpleRenewer (21203.0) -
新たな SimpleRenewer オブジェクトを生成します。
...新たな SimpleRenewer オブジェクトを生成します。
sec で Rinda::SimpleRenewer#renew が返す秒数を指定します。
@param sec renew が返す秒数... -
Rinda
:: DRbObjectTemplate . new(uri = nil , ref = nil) (18109.0) -
@todo
...@todo
Creates a new DRbObjectTemplate that will match against +uri+ and
+ref+.... -
Rinda
:: TupleSpaceProxy . new(ts) -> Rinda :: TupleSpaceProxy (18103.0) -
ts を wrap した新たな TupleSpaceProxy オブジェクトを生成します。
ts を wrap した新たな TupleSpaceProxy オブジェクトを生成します。
@param ts ラップするリモート Rinda::TupleSpace オブジェクト -
Rinda
:: SimpleRenewer # renew -> Integer (9108.0) -
TupleSpace からオブジェクトの寿命を問合せるために呼び出されます。
...TupleSpace からオブジェクトの寿命を問合せるために呼び出されます。
このメソッド自体は Rinda::SimpleRenewer.new で指定した秒数を
返します。... -
Rinda
:: SimpleRenewer (6002.0) -
シンプルな renewer で renewer のサンプル実装です。
...ルな renewer で renewer のサンプル実装です。
Rinda::TupleSpace が保持するタプルの有効期限を更新するクラスです。
このクラスはタプルの寿命をプロセスの寿命と一致させることができます。
詳しくは Rinda::TupleSpace#renewer を見... -
Rinda
:: Template (26.0) -
タプルのマッチングのためのクラスです。 ユーザがこのクラスを直接使うことはありません。
...接使うことはありません。
=== 例
require 'rinda/rinda'
template = Rinda::Template.new(['abc', nil, nil])
template.match(['abc', 2, 5]) # => true
template.match(['hoge', 2, 5]) # => false
template = Rinda::Template.new([String, Integer, nil])
template.match(['abc', 2, 5])......) # => true
template = Rinda::Template.new([/^abc/, Integer, nil])
template.match([/^abc/, Integer, nil]) # => true
template.match(['abc', 2, 5]) # => true
template.match(['def', 2, 5]) # => false
template = Rinda::Template.new({'name' => String, 'age' => Integer})
te...