summaryrefslogtreecommitdiff
path: root/lib/custodian/queue.rb
blob: 1e0004f6216bb6673da67ae93c28d9b6ab207c4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#
# Interface for our queue.
#
# We'll use this rather than the beanstalk-client
#
class Queue

   #
   # Constructor
   #
   def initialize( server )
   end

   #
   # Put an object.
   #
   # The object is serialized via JSON
   #
   def put( object )
   end

   #
   # Retrieve a native object from the Queue.
   #
   # The object is deserialized using JSON.
   #
   # This method will not return until there is an object present.
   #
   def fetch
   end

end