io_shuten 0.1.0.dev7 → 0.1.1.dev1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile +8 -14
- data/Gemfile.lock +42 -58
- data/README.md +148 -24
- data/Rakefile +0 -29
- data/benchmark/viiite-template-redis.rb +75 -0
- data/benchmark/viiite-template.rb +24 -31
- data/benchmarks.sh +7 -46
- data/benchmarks/redis.kvc.rb +8 -0
- data/benchmarks/redis.kvs.rb +8 -0
- data/io_shuten.gemspec +30 -92
- data/lib/io_shuten/redis.rb +1 -1
- data/lib/io_shuten/stores/redis/key_value/collection.rb +15 -3
- data/lib/io_shuten/version.rb +1 -1
- data/spec/lib/redis_spec.rb +5 -5
- data/spec/spec_helper.rb +1 -3
- metadata +109 -131
- data/.rvmrc +0 -71
- data/.simplecov +0 -16
- data/.yardopts +0 -3
- data/doc/IO_3A_3ABuffer.html +0 -198
- data/doc/IO_shuten.html +0 -126
- data/doc/IO_shuten/Base.html +0 -1062
- data/doc/IO_shuten/Base/FileAccessError.html +0 -129
- data/doc/IO_shuten/Base/FileNotFoundError.html +0 -129
- data/doc/IO_shuten/Base/NodeNameError.html +0 -129
- data/doc/IO_shuten/Base/NodeNotFoundError.html +0 -129
- data/doc/IO_shuten/Base/NotYetImplemented.html +0 -129
- data/doc/IO_shuten/Buffer.html +0 -1822
- data/doc/IO_shuten/Errors.html +0 -119
- data/doc/IO_shuten/Errors/FileAccessError.html +0 -129
- data/doc/IO_shuten/Errors/FileNotFoundError.html +0 -129
- data/doc/IO_shuten/Errors/NodeExistsError.html +0 -129
- data/doc/IO_shuten/Errors/NodeNameError.html +0 -129
- data/doc/IO_shuten/Errors/NodeNameExistsError.html +0 -129
- data/doc/IO_shuten/Errors/NodeNotFoundError.html +0 -129
- data/doc/IO_shuten/Errors/NotYetImplemented.html +0 -129
- data/doc/IO_shuten/Memory.html +0 -1778
- data/doc/IO_shuten/Mongo.html +0 -166
- data/doc/IO_shuten/Redis.html +0 -868
- data/doc/IO_shuten/Stores.html +0 -121
- data/doc/IO_shuten/Stores/BaseContainer.html +0 -377
- data/doc/IO_shuten/Stores/Mongo.html +0 -121
- data/doc/IO_shuten/Stores/Mongo/Collection.html +0 -109
- data/doc/IO_shuten/Stores/Mongo/GridFS.html +0 -109
- data/doc/IO_shuten/Stores/Redis.html +0 -123
- data/doc/IO_shuten/Stores/Redis/Container.html +0 -778
- data/doc/IO_shuten/Stores/Redis/KeyValue.html +0 -279
- data/doc/IO_shuten/Stores/Redis/KeyValue/Collection.html +0 -504
- data/doc/IO_shuten/Stores/Redis/KeyValue/Single.html +0 -438
- data/doc/IO_shuten/Stores/Redis/PubSub.html +0 -245
- data/doc/IO_shuten/Zmq.html +0 -166
- data/doc/_index.html +0 -375
- data/doc/class_list.html +0 -47
- data/doc/css/blame.css +0 -11
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -55
- data/doc/css/style.css +0 -322
- data/doc/file.README.html +0 -158
- data/doc/file_list.html +0 -49
- data/doc/frames.html +0 -13
- data/doc/index.html +0 -158
- data/doc/js/app.js +0 -205
- data/doc/js/full_list.js +0 -167
- data/doc/js/jquery.js +0 -16
- data/doc/method_list.html +0 -390
- data/doc/top-level-namespace.html +0 -105
data/doc/IO_shuten/Mongo.html
DELETED
@@ -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::Mongo
|
8
|
-
|
9
|
-
— 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 (M)</a> »
|
39
|
-
<span class='title'><span class='object_link'><a href="../IO_shuten.html" title="IO_shuten (module)">IO_shuten</a></span></span>
|
40
|
-
»
|
41
|
-
<span class="title">Mongo</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::Mongo
|
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::Mongo</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/mongo.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 two backends (default database interface and GridFS)!</p>
|
106
|
-
</div>
|
107
|
-
</div>
|
108
|
-
|
109
|
-
|
110
|
-
<p>Implementation of the MongoDB storage</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:36 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/IO_shuten/Redis.html
DELETED
@@ -1,868 +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::Redis
|
8
|
-
|
9
|
-
— 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 (R)</a> »
|
39
|
-
<span class='title'><span class='object_link'><a href="../IO_shuten.html" title="IO_shuten (module)">IO_shuten</a></span></span>
|
40
|
-
»
|
41
|
-
<span class="title">Redis</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::Redis
|
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::Redis</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/redis.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 two backends (default database interface and pub/sub interface)!</p>
|
106
|
-
</div>
|
107
|
-
</div>
|
108
|
-
|
109
|
-
|
110
|
-
<p>Implementation of the Redis storage</p>
|
111
|
-
|
112
|
-
<p>Two backends are possible: simple key-value and pub-sub messaging</p>
|
113
|
-
|
114
|
-
<p>KeyValue has different node types.</p>
|
115
|
-
|
116
|
-
<pre class="code">Single: all writes go into a single key
|
117
|
-
Collection: every write will create a new key (namespaced)</pre>
|
118
|
-
|
119
|
-
<p>Good for events or logs.</p>
|
120
|
-
|
121
|
-
<p>PubSub has different node types: publisher and subscriber. In future maybe
|
122
|
-
a combined publisher-subscriber type possible, but in general less needed.
|
123
|
-
Good for live event messaging.</p>
|
124
|
-
|
125
|
-
|
126
|
-
</div>
|
127
|
-
</div>
|
128
|
-
<div class="tags">
|
129
|
-
|
130
|
-
|
131
|
-
</div>
|
132
|
-
<h2>Constant Summary</h2>
|
133
|
-
|
134
|
-
<dl class="constants">
|
135
|
-
|
136
|
-
<dt id="redis-classvariable" class="">@@redis =
|
137
|
-
<div class="docstring">
|
138
|
-
<div class="discussion">
|
139
|
-
|
140
|
-
<p>Global redis client instance for the pool</p>
|
141
|
-
|
142
|
-
|
143
|
-
</div>
|
144
|
-
</div>
|
145
|
-
<div class="tags">
|
146
|
-
|
147
|
-
<h3>Returns:</h3>
|
148
|
-
<ul class="return">
|
149
|
-
|
150
|
-
<li>
|
151
|
-
|
152
|
-
|
153
|
-
<span class='type'>(<tt>Object</tt>)</span>
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
—
|
158
|
-
<div class='inline'>
|
159
|
-
<p>Redis instance</p>
|
160
|
-
</div>
|
161
|
-
|
162
|
-
</li>
|
163
|
-
|
164
|
-
</ul>
|
165
|
-
|
166
|
-
</div>
|
167
|
-
</dt>
|
168
|
-
<dd><pre class="code"><span class='op'>::</span><span class='const'>Redis</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span></pre></dd>
|
169
|
-
|
170
|
-
</dl>
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
<h2>Instance Attribute Summary</h2>
|
184
|
-
|
185
|
-
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Base.html" title="IO_shuten::Base (class)">Base</a></span></h3>
|
186
|
-
<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>
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
<h2>
|
191
|
-
Class Method Summary
|
192
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
193
|
-
</h2>
|
194
|
-
|
195
|
-
<ul class="summary">
|
196
|
-
|
197
|
-
<li class="public ">
|
198
|
-
<span class="summary_signature">
|
199
|
-
|
200
|
-
<a href="#redis-class_method" title="redis (class method)">+ (Object) <strong>redis</strong> </a>
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
</span>
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
<span class="summary_desc"><div class='inline'>
|
214
|
-
<p>Current redis client.</p>
|
215
|
-
</div></span>
|
216
|
-
|
217
|
-
</li>
|
218
|
-
|
219
|
-
|
220
|
-
<li class="public ">
|
221
|
-
<span class="summary_signature">
|
222
|
-
|
223
|
-
<a href="#redis%3D-class_method" title="redis= (class method)">+ (Object) <strong>redis=</strong>(new_redis) </a>
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
</span>
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
<span class="summary_desc"><div class='inline'>
|
237
|
-
<p>Sets a new global redis client for the pool.</p>
|
238
|
-
</div></span>
|
239
|
-
|
240
|
-
</li>
|
241
|
-
|
242
|
-
|
243
|
-
<li class="public ">
|
244
|
-
<span class="summary_signature">
|
245
|
-
|
246
|
-
<a href="#redis_clear%21-class_method" title="redis_clear! (class method)">+ (Object) <strong>redis_clear!</strong> </a>
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
</span>
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
260
|
-
|
261
|
-
</li>
|
262
|
-
|
263
|
-
|
264
|
-
</ul>
|
265
|
-
|
266
|
-
<h2>
|
267
|
-
Instance Method Summary
|
268
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
269
|
-
</h2>
|
270
|
-
|
271
|
-
<ul class="summary">
|
272
|
-
|
273
|
-
<li class="public ">
|
274
|
-
<span class="summary_signature">
|
275
|
-
|
276
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Redis) <strong>initialize</strong>(node_name, backend, type, redis_instance = nil) </a>
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
</span>
|
281
|
-
|
282
|
-
<span class="note title constructor">constructor</span>
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
<span class="summary_desc"><div class='inline'>
|
292
|
-
<p>A new instance of Redis.</p>
|
293
|
-
</div></span>
|
294
|
-
|
295
|
-
</li>
|
296
|
-
|
297
|
-
|
298
|
-
</ul>
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Base.html" title="IO_shuten::Base (class)">Base</a></span></h3>
|
310
|
-
<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>
|
311
|
-
<div id="constructor_details" class="method_details_list">
|
312
|
-
<h2>Constructor Details</h2>
|
313
|
-
|
314
|
-
<div class="method_details first">
|
315
|
-
<p class="signature first" id="initialize-instance_method">
|
316
|
-
|
317
|
-
- (<tt><span class='object_link'><a href="" title="IO_shuten::Redis (class)">Redis</a></span></tt>) <strong>initialize</strong>(node_name, backend, type, redis_instance = nil)
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
</p><div class="docstring">
|
322
|
-
<div class="discussion">
|
323
|
-
|
324
|
-
<p>A new instance of Redis</p>
|
325
|
-
|
326
|
-
|
327
|
-
</div>
|
328
|
-
</div>
|
329
|
-
<div class="tags">
|
330
|
-
<h3>Parameters:</h3>
|
331
|
-
<ul class="param">
|
332
|
-
|
333
|
-
<li>
|
334
|
-
|
335
|
-
<span class='name'>node_name</span>
|
336
|
-
|
337
|
-
|
338
|
-
<span class='type'>(<tt>String</tt>)</span>
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
</li>
|
343
|
-
|
344
|
-
<li>
|
345
|
-
|
346
|
-
<span class='name'>node_name</span>
|
347
|
-
|
348
|
-
|
349
|
-
<span class='type'>(<tt>Symbol</tt>)</span>
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
</li>
|
354
|
-
|
355
|
-
<li>
|
356
|
-
|
357
|
-
<span class='name'>backend</span>
|
358
|
-
|
359
|
-
|
360
|
-
<span class='type'>(<tt>Symbol</tt>)</span>
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
—
|
365
|
-
<div class='inline'>
|
366
|
-
<p>:key_value, :pub_sub</p>
|
367
|
-
</div>
|
368
|
-
|
369
|
-
</li>
|
370
|
-
|
371
|
-
<li>
|
372
|
-
|
373
|
-
<span class='name'>type</span>
|
374
|
-
|
375
|
-
|
376
|
-
<span class='type'>(<tt>Symbol</tt>)</span>
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
—
|
381
|
-
<div class='inline'>
|
382
|
-
<p>for backend :key_value => [:single,:collection], for backend :pub_sub
|
383
|
-
=> [:publisher,:subscriber]</p>
|
384
|
-
</div>
|
385
|
-
|
386
|
-
</li>
|
387
|
-
|
388
|
-
<li>
|
389
|
-
|
390
|
-
<span class='name'>Redis</span>
|
391
|
-
|
392
|
-
|
393
|
-
<span class='type'>(<tt>Object</tt>)</span>
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
—
|
398
|
-
<div class='inline'>
|
399
|
-
<p>an instance for this specific node, otherwise the Redis.redis instance will
|
400
|
-
be used</p>
|
401
|
-
</div>
|
402
|
-
|
403
|
-
</li>
|
404
|
-
|
405
|
-
</ul>
|
406
|
-
|
407
|
-
|
408
|
-
</div><table class="source_code blame">
|
409
|
-
<caption><span class="info file"># File 'lib/io_shuten/redis.rb', line 34</span></caption>
|
410
|
-
<tr>
|
411
|
-
<td>
|
412
|
-
<table>
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
<tr>
|
417
|
-
|
418
|
-
<td class="author"><a href="mailto:<chris@dinarrr.com>">Christoph Grabo</a></td>
|
419
|
-
|
420
|
-
<td class="date">2012-01-30 01:31:05</td>
|
421
|
-
<td class="commit"><a title="Add basic redis backends (KeyValue)">3daf4123</a><td>
|
422
|
-
<td class="lines">34</td>
|
423
|
-
<td><pre class="code"><span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_node_name'>node_name</span><span class='comma'>,</span> <span class='id identifier rubyid_backend'>backend</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_redis_instance'>redis_instance</span> <span class='op'>=</span> <span class='kw'>nil</span></pre></td>
|
424
|
-
</tr>
|
425
|
-
|
426
|
-
|
427
|
-
<tr>
|
428
|
-
|
429
|
-
<td class="author"><a href="mailto:<chris@dinarrr.com>">Christoph Grabo</a></td>
|
430
|
-
|
431
|
-
<td class="date">2012-01-30 01:31:05</td>
|
432
|
-
<td class="commit"><a title="Add basic redis backends (KeyValue)">3daf4123</a><td>
|
433
|
-
<td class="lines">35</td>
|
434
|
-
<td><pre class="code"> <span class='kw'>if</span> <span class='lbracket'>[</span><span class='const'>String</span><span class='comma'>,</span> <span class='const'>Symbol</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_node_name'>node_name</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='rparen'>)</span></pre></td>
|
435
|
-
</tr>
|
436
|
-
|
437
|
-
|
438
|
-
<tr>
|
439
|
-
|
440
|
-
<td class="author"><a href="mailto:<chris@dinarrr.com>">Christoph Grabo</a></td>
|
441
|
-
|
442
|
-
<td class="date">2012-01-30 01:31:05</td>
|
443
|
-
<td class="commit"><a title="Add basic redis backends (KeyValue)">3daf4123</a><td>
|
444
|
-
<td class="lines">36</td>
|
445
|
-
<td><pre class="code"> <span class='kw'>unless</span> <span class='const'>Redis</span><span class='period'>.</span><span class='id identifier rubyid_instance_exists?'>instance_exists?</span> <span class='id identifier rubyid_node_name'>node_name</span></pre></td>
|
446
|
-
</tr>
|
447
|
-
|
448
|
-
|
449
|
-
<tr>
|
450
|
-
|
451
|
-
<td class="author"><a href="mailto:<chris@dinarrr.com>">Christoph Grabo</a></td>
|
452
|
-
|
453
|
-
<td class="date">2012-01-30 01:31:05</td>
|
454
|
-
<td class="commit"><a title="Add basic redis backends (KeyValue)">3daf4123</a><td>
|
455
|
-
<td class="lines">37</td>
|
456
|
-
<td><pre class="code"> <span class='ivar'>@node_name</span> <span class='op'>=</span> <span class='id identifier rubyid_node_name'>node_name</span></pre></td>
|
457
|
-
</tr>
|
458
|
-
|
459
|
-
|
460
|
-
<tr>
|
461
|
-
|
462
|
-
<td class="author"><a href="mailto:<chris@dinarrr.com>">Christoph Grabo</a></td>
|
463
|
-
|
464
|
-
<td class="date">2012-01-30 01:31:05</td>
|
465
|
-
<td class="commit"><a title="Add basic redis backends (KeyValue)">3daf4123</a><td>
|
466
|
-
<td class="lines">38</td>
|
467
|
-
<td><pre class="code"> <span class='id identifier rubyid_redis_instance'>redis_instance</span> <span class='op'>||=</span> <span class='cvar'>@@redis</span></pre></td>
|
468
|
-
</tr>
|
469
|
-
|
470
|
-
|
471
|
-
<tr>
|
472
|
-
|
473
|
-
<td class="author"><a href="mailto:<chris@dinarrr.com>">Christoph Grabo</a></td>
|
474
|
-
|
475
|
-
<td class="date">2012-01-30 01:31:05</td>
|
476
|
-
<td class="commit"><a title="Add basic redis backends (KeyValue)">3daf4123</a><td>
|
477
|
-
<td class="lines">39</td>
|
478
|
-
<td><pre class="code"> <span class='ivar'>@container</span> <span class='op'>=</span> <span class='const'>Stores</span><span class='op'>::</span><span class='const'>Redis</span><span class='op'>::</span><span class='const'>Container</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_node_name'>node_name</span><span class='comma'>,</span> <span class='id identifier rubyid_backend'>backend</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_redis_instance'>redis_instance</span><span class='rparen'>)</span></pre></td>
|
479
|
-
</tr>
|
480
|
-
|
481
|
-
|
482
|
-
<tr>
|
483
|
-
|
484
|
-
<td class="author"><a href="mailto:<chris@dinarrr.com>">Christoph Grabo</a></td>
|
485
|
-
|
486
|
-
<td class="date">2012-01-23 02:28:15</td>
|
487
|
-
<td class="commit"><a title="Update class/module structure">56e9fc17</a><td>
|
488
|
-
<td class="lines">40</td>
|
489
|
-
<td><pre class="code"> <span class='cvar'>@@instances</span> <span class='op'><<</span> <span class='kw'>self</span> <span class='kw'>unless</span> <span class='cvar'>@@instances</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='kw'>self</span><span class='rparen'>)</span></pre></td>
|
490
|
-
</tr>
|
491
|
-
|
492
|
-
|
493
|
-
<tr>
|
494
|
-
|
495
|
-
<td class="author"><a href="mailto:<chris@dinarrr.com>">Christoph Grabo</a></td>
|
496
|
-
|
497
|
-
<td class="date">2012-01-30 01:31:05</td>
|
498
|
-
<td class="commit"><a title="Add basic redis backends (KeyValue)">3daf4123</a><td>
|
499
|
-
<td class="lines">41</td>
|
500
|
-
<td><pre class="code"> <span class='kw'>else</span></pre></td>
|
501
|
-
</tr>
|
502
|
-
|
503
|
-
|
504
|
-
<tr>
|
505
|
-
|
506
|
-
<td class="author"><a href="mailto:<chris@dinarrr.com>">Christoph Grabo</a></td>
|
507
|
-
|
508
|
-
<td class="date">2012-01-30 01:31:05</td>
|
509
|
-
<td class="commit"><a title="Add basic redis backends (KeyValue)">3daf4123</a><td>
|
510
|
-
<td class="lines">42</td>
|
511
|
-
<td><pre class="code"> <span class='id identifier rubyid_raise'>raise</span> <span class='const'>Errors</span><span class='op'>::</span><span class='const'>NodeExistsError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Node already in pool, replacement is not allowed.</span><span class='tstring_end'>"</span></span></pre></td>
|
512
|
-
</tr>
|
513
|
-
|
514
|
-
|
515
|
-
<tr>
|
516
|
-
|
517
|
-
<td class="author"><a href="mailto:<chris@dinarrr.com>">Christoph Grabo</a></td>
|
518
|
-
|
519
|
-
<td class="date">2012-01-30 01:31:05</td>
|
520
|
-
<td class="commit"><a title="Add basic redis backends (KeyValue)">3daf4123</a><td>
|
521
|
-
<td class="lines">43</td>
|
522
|
-
<td><pre class="code"> <span class='kw'>end</span></pre></td>
|
523
|
-
</tr>
|
524
|
-
|
525
|
-
|
526
|
-
<tr>
|
527
|
-
|
528
|
-
<td class="author"><a href="mailto:<chris@dinarrr.com>">Christoph Grabo</a></td>
|
529
|
-
|
530
|
-
<td class="date">2012-01-30 01:31:05</td>
|
531
|
-
<td class="commit"><a title="Add basic redis backends (KeyValue)">3daf4123</a><td>
|
532
|
-
<td class="lines">44</td>
|
533
|
-
<td><pre class="code"> <span class='kw'>else</span></pre></td>
|
534
|
-
</tr>
|
535
|
-
|
536
|
-
|
537
|
-
<tr>
|
538
|
-
|
539
|
-
<td class="author"><a href="mailto:<chris@dinarrr.com>">Christoph Grabo</a></td>
|
540
|
-
|
541
|
-
<td class="date">2012-01-23 02:28:15</td>
|
542
|
-
<td class="commit"><a title="Update class/module structure">56e9fc17</a><td>
|
543
|
-
<td class="lines">45</td>
|
544
|
-
<td><pre class="code"> <span class='id identifier rubyid_raise'>raise</span> <span class='const'>Errors</span><span class='op'>::</span><span class='const'>NodeNameError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Name must be kind of String or Symbol and can't be nil.</span><span class='tstring_end'>"</span></span></pre></td>
|
545
|
-
</tr>
|
546
|
-
|
547
|
-
|
548
|
-
<tr>
|
549
|
-
|
550
|
-
<td class="author"><a href="mailto:<chris@dinarrr.com>">Christoph Grabo</a></td>
|
551
|
-
|
552
|
-
<td class="date">2012-01-30 01:31:05</td>
|
553
|
-
<td class="commit"><a title="Add basic redis backends (KeyValue)">3daf4123</a><td>
|
554
|
-
<td class="lines">46</td>
|
555
|
-
<td><pre class="code"> <span class='kw'>end</span></pre></td>
|
556
|
-
</tr>
|
557
|
-
|
558
|
-
|
559
|
-
<tr>
|
560
|
-
|
561
|
-
<td class="author"><a href="mailto:<chris@dinarrr.com>">Christoph Grabo</a></td>
|
562
|
-
|
563
|
-
<td class="date">2012-01-23 02:28:15</td>
|
564
|
-
<td class="commit"><a title="Update class/module structure">56e9fc17</a><td>
|
565
|
-
<td class="lines">47</td>
|
566
|
-
<td><pre class="code"></pre></td>
|
567
|
-
</tr>
|
568
|
-
|
569
|
-
|
570
|
-
<tr>
|
571
|
-
|
572
|
-
<td class="author"><a href="mailto:<chris@dinarrr.com>">Christoph Grabo</a></td>
|
573
|
-
|
574
|
-
<td class="date">2012-01-23 02:28:15</td>
|
575
|
-
<td class="commit"><a title="Update class/module structure">56e9fc17</a><td>
|
576
|
-
<td class="lines">48</td>
|
577
|
-
<td><pre class="code"><span class='kw'>end</span></pre></td>
|
578
|
-
</tr>
|
579
|
-
|
580
|
-
</table>
|
581
|
-
</td>
|
582
|
-
<td>
|
583
|
-
</tr>
|
584
|
-
</table>
|
585
|
-
</div>
|
586
|
-
|
587
|
-
</div>
|
588
|
-
<div id="method_missing_details" class="method_details_list">
|
589
|
-
<h2>Dynamic Method Handling</h2>
|
590
|
-
<p class="notice super">
|
591
|
-
This class handles dynamic methods through the <tt>method_missing</tt> method
|
592
|
-
|
593
|
-
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>
|
594
|
-
|
595
|
-
</p>
|
596
|
-
|
597
|
-
</div>
|
598
|
-
|
599
|
-
|
600
|
-
<div id="class_method_details" class="method_details_list">
|
601
|
-
<h2>Class Method Details</h2>
|
602
|
-
|
603
|
-
|
604
|
-
<div class="method_details first">
|
605
|
-
<p class="signature first" id="redis-class_method">
|
606
|
-
|
607
|
-
+ (<tt>Object</tt>) <strong>redis</strong>
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
</p><div class="docstring">
|
612
|
-
<div class="discussion">
|
613
|
-
|
614
|
-
<p>Current redis client</p>
|
615
|
-
|
616
|
-
|
617
|
-
</div>
|
618
|
-
</div>
|
619
|
-
<div class="tags">
|
620
|
-
|
621
|
-
<h3>Returns:</h3>
|
622
|
-
<ul class="return">
|
623
|
-
|
624
|
-
<li>
|
625
|
-
|
626
|
-
|
627
|
-
<span class='type'>(<tt>Object</tt>)</span>
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
—
|
632
|
-
<div class='inline'>
|
633
|
-
<p>current redis client</p>
|
634
|
-
</div>
|
635
|
-
|
636
|
-
</li>
|
637
|
-
|
638
|
-
</ul>
|
639
|
-
|
640
|
-
</div><table class="source_code blame">
|
641
|
-
<caption><span class="info file"># File 'lib/io_shuten/redis.rb', line 55</span></caption>
|
642
|
-
<tr>
|
643
|
-
<td>
|
644
|
-
<table>
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
<tr>
|
649
|
-
|
650
|
-
<td class="author"><a href="mailto:<chris@dinarrr.com>">Christoph Grabo</a></td>
|
651
|
-
|
652
|
-
<td class="date">2012-01-23 02:28:15</td>
|
653
|
-
<td class="commit"><a title="Update class/module structure">56e9fc17</a><td>
|
654
|
-
<td class="lines">55</td>
|
655
|
-
<td><pre class="code"><span class='kw'>def</span> <span class='id identifier rubyid_redis'>redis</span></pre></td>
|
656
|
-
</tr>
|
657
|
-
|
658
|
-
|
659
|
-
<tr>
|
660
|
-
|
661
|
-
<td class="author"><a href="mailto:<chris@dinarrr.com>">Christoph Grabo</a></td>
|
662
|
-
|
663
|
-
<td class="date">2012-01-23 02:28:15</td>
|
664
|
-
<td class="commit"><a title="Update class/module structure">56e9fc17</a><td>
|
665
|
-
<td class="lines">56</td>
|
666
|
-
<td><pre class="code"> <span class='cvar'>@@redis</span></pre></td>
|
667
|
-
</tr>
|
668
|
-
|
669
|
-
|
670
|
-
<tr>
|
671
|
-
|
672
|
-
<td class="author"><a href="mailto:<chris@dinarrr.com>">Christoph Grabo</a></td>
|
673
|
-
|
674
|
-
<td class="date">2012-01-23 02:28:15</td>
|
675
|
-
<td class="commit"><a title="Update class/module structure">56e9fc17</a><td>
|
676
|
-
<td class="lines">57</td>
|
677
|
-
<td><pre class="code"><span class='kw'>end</span></pre></td>
|
678
|
-
</tr>
|
679
|
-
|
680
|
-
</table>
|
681
|
-
</td>
|
682
|
-
<td>
|
683
|
-
</tr>
|
684
|
-
</table>
|
685
|
-
</div>
|
686
|
-
|
687
|
-
<div class="method_details ">
|
688
|
-
<p class="signature " id="redis=-class_method">
|
689
|
-
|
690
|
-
+ (<tt>Object</tt>) <strong>redis=</strong>(new_redis)
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
</p><div class="docstring">
|
695
|
-
<div class="discussion">
|
696
|
-
|
697
|
-
<p>Sets a new global redis client for the pool</p>
|
698
|
-
|
699
|
-
|
700
|
-
</div>
|
701
|
-
</div>
|
702
|
-
<div class="tags">
|
703
|
-
|
704
|
-
<h3>Returns:</h3>
|
705
|
-
<ul class="return">
|
706
|
-
|
707
|
-
<li>
|
708
|
-
|
709
|
-
|
710
|
-
<span class='type'>(<tt>Object</tt>)</span>
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
—
|
715
|
-
<div class='inline'>
|
716
|
-
<p>new redis client</p>
|
717
|
-
</div>
|
718
|
-
|
719
|
-
</li>
|
720
|
-
|
721
|
-
</ul>
|
722
|
-
|
723
|
-
</div><table class="source_code blame">
|
724
|
-
<caption><span class="info file"># File 'lib/io_shuten/redis.rb', line 61</span></caption>
|
725
|
-
<tr>
|
726
|
-
<td>
|
727
|
-
<table>
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
<tr>
|
732
|
-
|
733
|
-
<td class="author"><a href="mailto:<chris@dinarrr.com>">Christoph Grabo</a></td>
|
734
|
-
|
735
|
-
<td class="date">2012-01-30 01:31:05</td>
|
736
|
-
<td class="commit"><a title="Add basic redis backends (KeyValue)">3daf4123</a><td>
|
737
|
-
<td class="lines">61</td>
|
738
|
-
<td><pre class="code"><span class='kw'>def</span> <span class='id identifier rubyid_redis='>redis=</span> <span class='id identifier rubyid_new_redis'>new_redis</span></pre></td>
|
739
|
-
</tr>
|
740
|
-
|
741
|
-
|
742
|
-
<tr>
|
743
|
-
|
744
|
-
<td class="author"><a href="mailto:<chris@dinarrr.com>">Christoph Grabo</a></td>
|
745
|
-
|
746
|
-
<td class="date">2012-01-23 02:28:15</td>
|
747
|
-
<td class="commit"><a title="Update class/module structure">56e9fc17</a><td>
|
748
|
-
<td class="lines">62</td>
|
749
|
-
<td><pre class="code"> <span class='cvar'>@@redis</span> <span class='op'>=</span> <span class='id identifier rubyid_new_redis'>new_redis</span></pre></td>
|
750
|
-
</tr>
|
751
|
-
|
752
|
-
|
753
|
-
<tr>
|
754
|
-
|
755
|
-
<td class="author"><a href="mailto:<chris@dinarrr.com>">Christoph Grabo</a></td>
|
756
|
-
|
757
|
-
<td class="date">2012-01-23 02:28:15</td>
|
758
|
-
<td class="commit"><a title="Update class/module structure">56e9fc17</a><td>
|
759
|
-
<td class="lines">63</td>
|
760
|
-
<td><pre class="code"><span class='kw'>end</span></pre></td>
|
761
|
-
</tr>
|
762
|
-
|
763
|
-
</table>
|
764
|
-
</td>
|
765
|
-
<td>
|
766
|
-
</tr>
|
767
|
-
</table>
|
768
|
-
</div>
|
769
|
-
|
770
|
-
<div class="method_details ">
|
771
|
-
<p class="signature " id="redis_clear!-class_method">
|
772
|
-
|
773
|
-
+ (<tt>Object</tt>) <strong>redis_clear!</strong>
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
</p><table class="source_code blame">
|
778
|
-
<caption><span class="info file"># File 'lib/io_shuten/redis.rb', line 65</span></caption>
|
779
|
-
<tr>
|
780
|
-
<td>
|
781
|
-
<table>
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
<tr>
|
786
|
-
|
787
|
-
<td class="author"><a href="mailto:<chris@dinarrr.com>">Christoph Grabo</a></td>
|
788
|
-
|
789
|
-
<td class="date">2012-01-30 01:31:05</td>
|
790
|
-
<td class="commit"><a title="Add basic redis backends (KeyValue)">3daf4123</a><td>
|
791
|
-
<td class="lines">65</td>
|
792
|
-
<td><pre class="code"><span class='kw'>def</span> <span class='id identifier rubyid_redis_clear!'>redis_clear!</span></pre></td>
|
793
|
-
</tr>
|
794
|
-
|
795
|
-
|
796
|
-
<tr>
|
797
|
-
|
798
|
-
<td class="author"><a href="mailto:<chris@dinarrr.com>">Christoph Grabo</a></td>
|
799
|
-
|
800
|
-
<td class="date">2012-01-30 01:31:05</td>
|
801
|
-
<td class="commit"><a title="Add basic redis backends (KeyValue)">3daf4123</a><td>
|
802
|
-
<td class="lines">66</td>
|
803
|
-
<td><pre class="code"> <span class='id identifier rubyid_keys'>keys</span> <span class='op'>=</span> <span class='cvar'>@@redis</span><span class='period'>.</span><span class='id identifier rubyid_keys'>keys</span></pre></td>
|
804
|
-
</tr>
|
805
|
-
|
806
|
-
|
807
|
-
<tr>
|
808
|
-
|
809
|
-
<td class="author"><a href="mailto:<chris@dinarrr.com>">Christoph Grabo</a></td>
|
810
|
-
|
811
|
-
<td class="date">2012-01-30 01:31:05</td>
|
812
|
-
<td class="commit"><a title="Add basic redis backends (KeyValue)">3daf4123</a><td>
|
813
|
-
<td class="lines">67</td>
|
814
|
-
<td><pre class="code"> <span class='id identifier rubyid_keys'>keys</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_key'>key</span><span class='op'>|</span></pre></td>
|
815
|
-
</tr>
|
816
|
-
|
817
|
-
|
818
|
-
<tr>
|
819
|
-
|
820
|
-
<td class="author"><a href="mailto:<chris@dinarrr.com>">Christoph Grabo</a></td>
|
821
|
-
|
822
|
-
<td class="date">2012-01-30 01:31:05</td>
|
823
|
-
<td class="commit"><a title="Add basic redis backends (KeyValue)">3daf4123</a><td>
|
824
|
-
<td class="lines">68</td>
|
825
|
-
<td><pre class="code"> <span class='cvar'>@@redis</span><span class='period'>.</span><span class='id identifier rubyid_del'>del</span> <span class='id identifier rubyid_key'>key</span></pre></td>
|
826
|
-
</tr>
|
827
|
-
|
828
|
-
|
829
|
-
<tr>
|
830
|
-
|
831
|
-
<td class="author"><a href="mailto:<chris@dinarrr.com>">Christoph Grabo</a></td>
|
832
|
-
|
833
|
-
<td class="date">2012-01-30 01:31:05</td>
|
834
|
-
<td class="commit"><a title="Add basic redis backends (KeyValue)">3daf4123</a><td>
|
835
|
-
<td class="lines">69</td>
|
836
|
-
<td><pre class="code"> <span class='kw'>end</span></pre></td>
|
837
|
-
</tr>
|
838
|
-
|
839
|
-
|
840
|
-
<tr>
|
841
|
-
|
842
|
-
<td class="author"><a href="mailto:<chris@dinarrr.com>">Christoph Grabo</a></td>
|
843
|
-
|
844
|
-
<td class="date">2012-01-23 02:28:15</td>
|
845
|
-
<td class="commit"><a title="Update class/module structure">56e9fc17</a><td>
|
846
|
-
<td class="lines">70</td>
|
847
|
-
<td><pre class="code"><span class='kw'>end</span></pre></td>
|
848
|
-
</tr>
|
849
|
-
|
850
|
-
</table>
|
851
|
-
</td>
|
852
|
-
<td>
|
853
|
-
</tr>
|
854
|
-
</table>
|
855
|
-
</div>
|
856
|
-
|
857
|
-
</div>
|
858
|
-
|
859
|
-
</div>
|
860
|
-
|
861
|
-
<div id="footer">
|
862
|
-
Generated on Mon Jan 30 01:52:36 2012 by
|
863
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
864
|
-
0.7.4 (ruby-1.9.3).
|
865
|
-
</div>
|
866
|
-
|
867
|
-
</body>
|
868
|
-
</html>
|