File: log.rb

package info (click to toggle)
ruby-bdb 0.6.6-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,652 kB
  • ctags: 4,687
  • sloc: ansic: 13,663; cpp: 8,601; ruby: 7,903; sh: 47; makefile: 18
file content (42 lines) | stat: -rw-r--r-- 831 bytes parent folder | download | duplicates (11)
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
35
36
37
38
39
40
41
42
# a BDB::Lsn object is created by the method log_checkpoint, log_curlsn,
# log_flush, log_put
class BDB::Lsn
   include Comparable
   
   #
   #compare 2 <em>BDB::Lsn</em>
   #
   def  <=>(other)
   end
   
   #
   #The <em>log_file</em> function maps <em>BDB::Lsn</em> structures to file 
   #<em>name</em>s
   #
   def  log_file(name)
   end
   
   #same than <em> log_file</em>
   def  file(name)
   end
   
   #
   #The <em>log_flush</em> function guarantees that all log records whose
   #<em>DBB:Lsn</em> are less than or equal to the current lsn have been written
   #to disk.
   #
   def  log_flush
   end
   #same than <em> log_flush</em>
   def  flush
   end
   
   #
   #return the <em>String</em> associated with this <em>BDB::Lsn</em>
   #
   def  log_get
   end
   #same than <em> log_get</em>
   def  get
   end
end