io_shuten 0.1.0.dev7 → 0.1.1.dev1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. data/Gemfile +8 -14
  2. data/Gemfile.lock +42 -58
  3. data/README.md +148 -24
  4. data/Rakefile +0 -29
  5. data/benchmark/viiite-template-redis.rb +75 -0
  6. data/benchmark/viiite-template.rb +24 -31
  7. data/benchmarks.sh +7 -46
  8. data/benchmarks/redis.kvc.rb +8 -0
  9. data/benchmarks/redis.kvs.rb +8 -0
  10. data/io_shuten.gemspec +30 -92
  11. data/lib/io_shuten/redis.rb +1 -1
  12. data/lib/io_shuten/stores/redis/key_value/collection.rb +15 -3
  13. data/lib/io_shuten/version.rb +1 -1
  14. data/spec/lib/redis_spec.rb +5 -5
  15. data/spec/spec_helper.rb +1 -3
  16. metadata +109 -131
  17. data/.rvmrc +0 -71
  18. data/.simplecov +0 -16
  19. data/.yardopts +0 -3
  20. data/doc/IO_3A_3ABuffer.html +0 -198
  21. data/doc/IO_shuten.html +0 -126
  22. data/doc/IO_shuten/Base.html +0 -1062
  23. data/doc/IO_shuten/Base/FileAccessError.html +0 -129
  24. data/doc/IO_shuten/Base/FileNotFoundError.html +0 -129
  25. data/doc/IO_shuten/Base/NodeNameError.html +0 -129
  26. data/doc/IO_shuten/Base/NodeNotFoundError.html +0 -129
  27. data/doc/IO_shuten/Base/NotYetImplemented.html +0 -129
  28. data/doc/IO_shuten/Buffer.html +0 -1822
  29. data/doc/IO_shuten/Errors.html +0 -119
  30. data/doc/IO_shuten/Errors/FileAccessError.html +0 -129
  31. data/doc/IO_shuten/Errors/FileNotFoundError.html +0 -129
  32. data/doc/IO_shuten/Errors/NodeExistsError.html +0 -129
  33. data/doc/IO_shuten/Errors/NodeNameError.html +0 -129
  34. data/doc/IO_shuten/Errors/NodeNameExistsError.html +0 -129
  35. data/doc/IO_shuten/Errors/NodeNotFoundError.html +0 -129
  36. data/doc/IO_shuten/Errors/NotYetImplemented.html +0 -129
  37. data/doc/IO_shuten/Memory.html +0 -1778
  38. data/doc/IO_shuten/Mongo.html +0 -166
  39. data/doc/IO_shuten/Redis.html +0 -868
  40. data/doc/IO_shuten/Stores.html +0 -121
  41. data/doc/IO_shuten/Stores/BaseContainer.html +0 -377
  42. data/doc/IO_shuten/Stores/Mongo.html +0 -121
  43. data/doc/IO_shuten/Stores/Mongo/Collection.html +0 -109
  44. data/doc/IO_shuten/Stores/Mongo/GridFS.html +0 -109
  45. data/doc/IO_shuten/Stores/Redis.html +0 -123
  46. data/doc/IO_shuten/Stores/Redis/Container.html +0 -778
  47. data/doc/IO_shuten/Stores/Redis/KeyValue.html +0 -279
  48. data/doc/IO_shuten/Stores/Redis/KeyValue/Collection.html +0 -504
  49. data/doc/IO_shuten/Stores/Redis/KeyValue/Single.html +0 -438
  50. data/doc/IO_shuten/Stores/Redis/PubSub.html +0 -245
  51. data/doc/IO_shuten/Zmq.html +0 -166
  52. data/doc/_index.html +0 -375
  53. data/doc/class_list.html +0 -47
  54. data/doc/css/blame.css +0 -11
  55. data/doc/css/common.css +0 -1
  56. data/doc/css/full_list.css +0 -55
  57. data/doc/css/style.css +0 -322
  58. data/doc/file.README.html +0 -158
  59. data/doc/file_list.html +0 -49
  60. data/doc/frames.html +0 -13
  61. data/doc/index.html +0 -158
  62. data/doc/js/app.js +0 -205
  63. data/doc/js/full_list.js +0 -167
  64. data/doc/js/jquery.js +0 -16
  65. data/doc/method_list.html +0 -390
  66. data/doc/top-level-namespace.html +0 -105
@@ -1,166 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <title>
7
- Class: IO_shuten::Zmq
8
-
9
- &mdash; IO::shuten 【五百::終点】
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
-
17
- <link rel="stylesheet" href="../css/blame.css" type="text/css" media="screen" charset="utf-8" />
18
-
19
- <script type="text/javascript" charset="utf-8">
20
- relpath = '..';
21
- if (relpath != '') relpath += '/';
22
- </script>
23
-
24
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
25
-
26
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
27
-
28
-
29
- </head>
30
- <body>
31
- <script type="text/javascript" charset="utf-8">
32
- if (window.top.frames.main) document.body.className = 'frames';
33
- </script>
34
-
35
- <div id="header">
36
- <div id="menu">
37
-
38
- <a href="../_index.html">Index (Z)</a> &raquo;
39
- <span class='title'><span class='object_link'><a href="../IO_shuten.html" title="IO_shuten (module)">IO_shuten</a></span></span>
40
- &raquo;
41
- <span class="title">Zmq</span>
42
-
43
-
44
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
45
- </div>
46
-
47
- <div id="search">
48
-
49
- <a id="class_list_link" href="#">Class List</a>
50
-
51
- <a id="method_list_link" href="#">Method List</a>
52
-
53
- <a id="file_list_link" href="#">File List</a>
54
-
55
- </div>
56
- <div class="clear"></div>
57
- </div>
58
-
59
- <iframe id="search_frame"></iframe>
60
-
61
- <div id="content"><h1>Class: IO_shuten::Zmq
62
-
63
-
64
-
65
- </h1>
66
-
67
- <dl class="box">
68
-
69
- <dt class="r1">Inherits:</dt>
70
- <dd class="r1">
71
- <span class="inheritName"><span class='object_link'><a href="Base.html" title="IO_shuten::Base (class)">Base</a></span></span>
72
-
73
- <ul class="fullTree">
74
- <li>Object</li>
75
-
76
- <li class="next"><span class='object_link'><a href="Base.html" title="IO_shuten::Base (class)">Base</a></span></li>
77
-
78
- <li class="next">IO_shuten::Zmq</li>
79
-
80
- </ul>
81
- <a href="#" class="inheritanceTree">show all</a>
82
-
83
- </dd>
84
-
85
-
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
- <dt class="r2 last">Defined in:</dt>
94
- <dd class="r2 last">lib/io_shuten/zmq.rb</dd>
95
-
96
- </dl>
97
- <div class="clear"></div>
98
-
99
- <h2>Overview</h2><div class="docstring">
100
- <div class="discussion">
101
-
102
- <div class="note todo">
103
- <strong>TODO:</strong>
104
- <div class='inline'>
105
- <p>Needs different backends (pub-sub, req-recv)!</p>
106
- </div>
107
- </div>
108
-
109
-
110
- <p>Implementation of the ZMQ</p>
111
-
112
-
113
- </div>
114
- </div>
115
- <div class="tags">
116
-
117
-
118
- </div>
119
-
120
-
121
-
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
- <h2>Instance Attribute Summary</h2>
130
-
131
- <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Base.html" title="IO_shuten::Base (class)">Base</a></span></h3>
132
- <p class="inherited"><span class='object_link'><a href="Base.html#container-instance_method" title="IO_shuten::Base#container (method)">container</a></span>, <span class='object_link'><a href="Base.html#node_name-instance_method" title="IO_shuten::Base#node_name (method)">node_name</a></span></p>
133
-
134
-
135
-
136
-
137
-
138
-
139
-
140
-
141
- <h2>Method Summary</h2>
142
-
143
- <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Base.html" title="IO_shuten::Base (class)">Base</a></span></h3>
144
- <p class="inherited"><span class='object_link'><a href="Base.html#delete_instance-class_method" title="IO_shuten::Base.delete_instance (method)">delete_instance</a></span>, <span class='object_link'><a href="Base.html#instance_exists%3F-class_method" title="IO_shuten::Base.instance_exists? (method)">instance_exists?</a></span>, <span class='object_link'><a href="Base.html#instances-class_method" title="IO_shuten::Base.instances (method)">instances</a></span>, <span class='object_link'><a href="Base.html#purge_instances%21-class_method" title="IO_shuten::Base.purge_instances! (method)">purge_instances!</a></span></p>
145
- <div id="method_missing_details" class="method_details_list">
146
- <h2>Dynamic Method Handling</h2>
147
- <p class="notice super">
148
- This class handles dynamic methods through the <tt>method_missing</tt> method
149
-
150
- in the class <span class='object_link'><a href="Base.html#method_missing-instance_method" title="IO_shuten::Base#method_missing (method)">IO_shuten::Base</a></span>
151
-
152
- </p>
153
-
154
- </div>
155
-
156
-
157
- </div>
158
-
159
- <div id="footer">
160
- Generated on Mon Jan 30 01:52:35 2012 by
161
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
162
- 0.7.4 (ruby-1.9.3).
163
- </div>
164
-
165
- </body>
166
- </html>
data/doc/_index.html DELETED
@@ -1,375 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <title>
7
- IO::shuten 【五百::終点】
8
-
9
- </title>
10
-
11
- <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
12
-
13
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="css/blame.css" type="text/css" media="screen" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- relpath = '';
19
- if (relpath != '') relpath += '/';
20
- </script>
21
-
22
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
23
-
24
- <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
25
-
26
-
27
- </head>
28
- <body>
29
- <script type="text/javascript" charset="utf-8">
30
- if (window.top.frames.main) document.body.className = 'frames';
31
- </script>
32
-
33
- <div id="header">
34
- <div id="menu">
35
-
36
-
37
- <span class="title"></span>
38
-
39
-
40
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
- </div>
42
-
43
- <div id="search">
44
-
45
- <a id="class_list_link" href="#">Class List</a>
46
-
47
- <a id="method_list_link" href="#">Method List</a>
48
-
49
- <a id="file_list_link" href="#">File List</a>
50
-
51
- </div>
52
- <div class="clear"></div>
53
- </div>
54
-
55
- <iframe id="search_frame"></iframe>
56
-
57
- <div id="content"><h1 class="noborder title">IO::shuten 【五百::終点】</h1>
58
- <div id="listing">
59
- <h1 class="alphaindex">Alphabetic Index</h1>
60
-
61
- <h2>File Listing</h2>
62
- <ul id="files">
63
-
64
-
65
- <li class="r1"><a href="index.html" title="README">README</a></li>
66
-
67
-
68
- </ul>
69
-
70
- <div class="clear"></div>
71
- <h2>Namespace Listing A-Z</h2>
72
-
73
-
74
-
75
-
76
- <table>
77
- <tr>
78
- <td valign='top' width="33%">
79
-
80
-
81
- <ul id="alpha_B" class="alpha">
82
- <li class="letter">B</li>
83
- <ul>
84
-
85
- <li>
86
- <span class='object_link'><a href="IO_shuten/Base.html" title="IO_shuten::Base (class)">Base</a></span>
87
-
88
- <small>(IO_shuten)</small>
89
-
90
- </li>
91
-
92
- <li>
93
- <span class='object_link'><a href="IO_shuten/Stores/BaseContainer.html" title="IO_shuten::Stores::BaseContainer (module)">BaseContainer</a></span>
94
-
95
- <small>(IO_shuten::Stores)</small>
96
-
97
- </li>
98
-
99
- <li>
100
- <span class='object_link'><a href="IO_shuten/Buffer.html" title="IO_shuten::Buffer (class)">Buffer</a></span>
101
-
102
- <small>(IO_shuten)</small>
103
-
104
- </li>
105
-
106
- </ul>
107
- </ul>
108
-
109
-
110
- <ul id="alpha_C" class="alpha">
111
- <li class="letter">C</li>
112
- <ul>
113
-
114
- <li>
115
- <span class='object_link'><a href="IO_shuten/Stores/Mongo/Collection.html" title="IO_shuten::Stores::Mongo::Collection (module)">Collection</a></span>
116
-
117
- <small>(IO_shuten::Stores::Mongo)</small>
118
-
119
- </li>
120
-
121
- <li>
122
- <span class='object_link'><a href="IO_shuten/Stores/Redis/KeyValue/Collection.html" title="IO_shuten::Stores::Redis::KeyValue::Collection (module)">Collection</a></span>
123
-
124
- <small>(IO_shuten::Stores::Redis::KeyValue)</small>
125
-
126
- </li>
127
-
128
- <li>
129
- <span class='object_link'><a href="IO_shuten/Stores/Redis/Container.html" title="IO_shuten::Stores::Redis::Container (class)">Container</a></span>
130
-
131
- <small>(IO_shuten::Stores::Redis)</small>
132
-
133
- </li>
134
-
135
- </ul>
136
- </ul>
137
-
138
-
139
- <ul id="alpha_E" class="alpha">
140
- <li class="letter">E</li>
141
- <ul>
142
-
143
- <li>
144
- <span class='object_link'><a href="IO_shuten/Errors.html" title="IO_shuten::Errors (module)">Errors</a></span>
145
-
146
- <small>(IO_shuten)</small>
147
-
148
- </li>
149
-
150
- </ul>
151
- </ul>
152
-
153
-
154
- <ul id="alpha_F" class="alpha">
155
- <li class="letter">F</li>
156
- <ul>
157
-
158
- <li>
159
- <span class='object_link'><a href="IO_shuten/Errors/FileAccessError.html" title="IO_shuten::Errors::FileAccessError (class)">FileAccessError</a></span>
160
-
161
- <small>(IO_shuten::Errors)</small>
162
-
163
- </li>
164
-
165
- <li>
166
- <span class='object_link'><a href="IO_shuten/Errors/FileNotFoundError.html" title="IO_shuten::Errors::FileNotFoundError (class)">FileNotFoundError</a></span>
167
-
168
- <small>(IO_shuten::Errors)</small>
169
-
170
- </li>
171
-
172
- </ul>
173
- </ul>
174
-
175
-
176
- <ul id="alpha_G" class="alpha">
177
- <li class="letter">G</li>
178
- <ul>
179
-
180
- <li>
181
- <span class='object_link'><a href="IO_shuten/Stores/Mongo/GridFS.html" title="IO_shuten::Stores::Mongo::GridFS (module)">GridFS</a></span>
182
-
183
- <small>(IO_shuten::Stores::Mongo)</small>
184
-
185
- </li>
186
-
187
- </ul>
188
- </ul>
189
-
190
-
191
- <ul id="alpha_I" class="alpha">
192
- <li class="letter">I</li>
193
- <ul>
194
-
195
- <li>
196
- <span class='object_link'><a href="IO_shuten.html" title="IO_shuten (module)">IO_shuten</a></span>
197
-
198
- </li>
199
-
200
- </ul>
201
- </ul>
202
-
203
-
204
- <ul id="alpha_K" class="alpha">
205
- <li class="letter">K</li>
206
- <ul>
207
-
208
- <li>
209
- <span class='object_link'><a href="IO_shuten/Stores/Redis/KeyValue.html" title="IO_shuten::Stores::Redis::KeyValue (module)">KeyValue</a></span>
210
-
211
- <small>(IO_shuten::Stores::Redis)</small>
212
-
213
- </li>
214
-
215
- </ul>
216
- </ul>
217
-
218
-
219
- </td><td valign='top' width="33%">
220
-
221
-
222
- <ul id="alpha_M" class="alpha">
223
- <li class="letter">M</li>
224
- <ul>
225
-
226
- <li>
227
- <span class='object_link'><a href="IO_shuten/Memory.html" title="IO_shuten::Memory (class)">Memory</a></span>
228
-
229
- <small>(IO_shuten)</small>
230
-
231
- </li>
232
-
233
- <li>
234
- <span class='object_link'><a href="IO_shuten/Stores/Mongo.html" title="IO_shuten::Stores::Mongo (module)">Mongo</a></span>
235
-
236
- <small>(IO_shuten::Stores)</small>
237
-
238
- </li>
239
-
240
- <li>
241
- <span class='object_link'><a href="IO_shuten/Mongo.html" title="IO_shuten::Mongo (class)">Mongo</a></span>
242
-
243
- <small>(IO_shuten)</small>
244
-
245
- </li>
246
-
247
- </ul>
248
- </ul>
249
-
250
-
251
- <ul id="alpha_N" class="alpha">
252
- <li class="letter">N</li>
253
- <ul>
254
-
255
- <li>
256
- <span class='object_link'><a href="IO_shuten/Errors/NodeExistsError.html" title="IO_shuten::Errors::NodeExistsError (class)">NodeExistsError</a></span>
257
-
258
- <small>(IO_shuten::Errors)</small>
259
-
260
- </li>
261
-
262
- <li>
263
- <span class='object_link'><a href="IO_shuten/Errors/NodeNameError.html" title="IO_shuten::Errors::NodeNameError (class)">NodeNameError</a></span>
264
-
265
- <small>(IO_shuten::Errors)</small>
266
-
267
- </li>
268
-
269
- <li>
270
- <span class='object_link'><a href="IO_shuten/Errors/NodeNotFoundError.html" title="IO_shuten::Errors::NodeNotFoundError (class)">NodeNotFoundError</a></span>
271
-
272
- <small>(IO_shuten::Errors)</small>
273
-
274
- </li>
275
-
276
- <li>
277
- <span class='object_link'><a href="IO_shuten/Errors/NotYetImplemented.html" title="IO_shuten::Errors::NotYetImplemented (class)">NotYetImplemented</a></span>
278
-
279
- <small>(IO_shuten::Errors)</small>
280
-
281
- </li>
282
-
283
- </ul>
284
- </ul>
285
-
286
-
287
- <ul id="alpha_P" class="alpha">
288
- <li class="letter">P</li>
289
- <ul>
290
-
291
- <li>
292
- <span class='object_link'><a href="IO_shuten/Stores/Redis/PubSub.html" title="IO_shuten::Stores::Redis::PubSub (module)">PubSub</a></span>
293
-
294
- <small>(IO_shuten::Stores::Redis)</small>
295
-
296
- </li>
297
-
298
- </ul>
299
- </ul>
300
-
301
-
302
- <ul id="alpha_R" class="alpha">
303
- <li class="letter">R</li>
304
- <ul>
305
-
306
- <li>
307
- <span class='object_link'><a href="IO_shuten/Stores/Redis.html" title="IO_shuten::Stores::Redis (module)">Redis</a></span>
308
-
309
- <small>(IO_shuten::Stores)</small>
310
-
311
- </li>
312
-
313
- <li>
314
- <span class='object_link'><a href="IO_shuten/Redis.html" title="IO_shuten::Redis (class)">Redis</a></span>
315
-
316
- <small>(IO_shuten)</small>
317
-
318
- </li>
319
-
320
- </ul>
321
- </ul>
322
-
323
-
324
- <ul id="alpha_S" class="alpha">
325
- <li class="letter">S</li>
326
- <ul>
327
-
328
- <li>
329
- <span class='object_link'><a href="IO_shuten/Stores/Redis/KeyValue/Single.html" title="IO_shuten::Stores::Redis::KeyValue::Single (module)">Single</a></span>
330
-
331
- <small>(IO_shuten::Stores::Redis::KeyValue)</small>
332
-
333
- </li>
334
-
335
- <li>
336
- <span class='object_link'><a href="IO_shuten/Stores.html" title="IO_shuten::Stores (module)">Stores</a></span>
337
-
338
- <small>(IO_shuten)</small>
339
-
340
- </li>
341
-
342
- </ul>
343
- </ul>
344
-
345
-
346
- <ul id="alpha_Z" class="alpha">
347
- <li class="letter">Z</li>
348
- <ul>
349
-
350
- <li>
351
- <span class='object_link'><a href="IO_shuten/Zmq.html" title="IO_shuten::Zmq (class)">Zmq</a></span>
352
-
353
- <small>(IO_shuten)</small>
354
-
355
- </li>
356
-
357
- </ul>
358
- </ul>
359
-
360
- </td>
361
- </tr>
362
- </table>
363
-
364
- </div>
365
-
366
- </div>
367
-
368
- <div id="footer">
369
- Generated on Mon Jan 30 01:52:35 2012 by
370
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
371
- 0.7.4 (ruby-1.9.3).
372
- </div>
373
-
374
- </body>
375
- </html>