187件ヒット
[1-100件を表示]
(0.118秒)
種類
- クラス (77)
- インスタンスメソッド (77)
- 特異メソッド (33)
クラス
-
Rinda
:: DRbObjectTemplate (22) -
Rinda
:: SimpleRenewer (22) -
Rinda
:: TupleSpaceProxy (66)
キーワード
- === (11)
- DRbObjectTemplate (11)
- InvalidHashTupleKey (11)
- RequestCanceledError (11)
- SimpleRenewer (11)
- Template (11)
- Tuple (11)
- TupleSpaceProxy (11)
- new (33)
- notify (11)
- read (11)
-
read
_ all (11) - renew (11)
- take (11)
- write (11)
検索結果
先頭5件
-
Rinda
:: InvalidHashTupleKey (15002.0) -
Rinda::TupleSpace#write などで不正なハッシュテーブル(キーが 文字列でないもの)をタプルスペースに書き込もうとすると発生すると発生する 例外です。
...Rinda::TupleSpace#write などで不正なハッシュテーブル(キーが
文字列でないもの)をタプルスペースに書き込もうとすると発生すると発生する
例外です。... -
Rinda
:: SimpleRenewer (12002.0) -
シンプルな renewer で renewer のサンプル実装です。
...renewer のサンプル実装です。
Rinda::TupleSpace が保持するタプルの有効期限を更新するクラスです。
このクラスはタプルの寿命をプロセスの寿命と一致させることができます。
詳しくは Rinda::TupleSpace#renewer を見てください。... -
Rinda
:: TupleSpaceProxy # notify(ev , tuple , sec = nil) -> Rinda :: NotifyTemplateEntry (9302.0) -
event で指定した種類のイベントの監視を開始します。
...種類のイベントの監視を開始します。
内部的にはリモートオブジェクトの Rinda::TupleSpace#notify にフォワードされます。
詳細は Rinda::TupleSpace#notify 参照してください
@param event 監視対象のイベント(文字列)
@param pattern 監視対... -
Rinda
:: TupleSpaceProxy # write(tuple , sec = nil) -> Rinda :: TupleEntry (9302.0) -
tuple をタプルスペースに加えます。 tuple を管理するための Rinda::TupleEntry オブジェクトを返します。
...tuple をタプルスペースに加えます。
tuple を管理するための Rinda::TupleEntry オブジェクトを返します。
内部的にはリモートオブジェクトの Rinda::TupleSpace#write にフォワードされます。
詳細は Rinda::TupleSpace#write を参照してくだ......さい。
@param tuple 追加する tuple (配列かHash)
@param sec 有効期限(秒数)... -
Rinda
:: TupleSpaceProxy # read _ all(tuple) -> [Array|Hash] (9102.0) -
タプルスペース内の tuple にマッチするタプルをすべてコピーして返します。
...ース内の tuple にマッチするタプルをすべてコピーして返します。
内部的にはリモートオブジェクトの Rinda::TupleSpace#read_all にフォワードされます。
詳細は Rinda::TupleSpace#read_all を参照してください。
@param tuple タプルのパタ... -
Rinda
:: DRbObjectTemplate (9002.0) -
-
Rinda
:: RequestCanceledError (9002.0) -
rinda で take などのリクエストが何らかの理由でキャンセルされた ことを意味する例外クラス。
...rinda で take などのリクエストが何らかの理由でキャンセルされた
ことを意味する例外クラス。... -
Rinda
:: Template (9002.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.match(['abcd', 2......e
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})
template.matc......h({'name' => 'seki', 'age' => 0x20}) # => true
template.match({'name' => :seki, 'age' => 0x20}) # => false... -
Rinda
:: Tuple (9002.0) -
Tuple のためのクラスです。ユーザがこのクラスを直接使うことはありません。
...Tuple のためのクラスです。ユーザがこのクラスを直接使うことはありません。... -
Rinda
:: TupleSpaceProxy (9002.0) -
リモートの Rinda::TupleSpace オブジェクトを包む プロクシクラスです。
...リモートの Rinda::TupleSpace オブジェクトを包む
プロクシクラスです。
Rinda::TupleSpace#take でタプルの受け渡し時にタプルが
消失する可能性を下げるためのプロクシクラスです。...