Sha256: 7cef98b4bf08a5a772bd1f50597b52fddb94af1c1d5fb9f2ec86a943049a2bde

Contents?: true

Size: 733 Bytes

Versions: 1

Compression:

Stored size: 733 Bytes

Contents

module CephRuby
  # A Completion for callbacks for asynchronous IO
  class RadosCompletion
    attr_accessor :completion_t

    def initialize(args: nil, complete_callback: nil, safe_callback: nil)
      self.completion_t = Lib::Rados.rados_completion(args,
                                                      complete_callback,
                                                      safe_callback)
    end

    def wait_for_complete
    end

    def wait_for_safe
    end

    def complete?
    end

    def safe?
    end

    def wait_for_complete_and_cb
    end

    def wait_for_safe_and_cb
    end

    def complete_and_cb?
    end

    def safe_and_cb?
    end

    def return_value
    end

    def destroy
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ceph-ruby-livelink-1.5.1 lib/ceph-ruby/rados_aio_completion.rb