Sha256: 796ff3a5b023405a5d1ab5122061ca22afd2c9dc1bff0bfa616a4a65b353ae16

Contents?: true

Size: 500 Bytes

Versions: 9

Compression:

Stored size: 500 Bytes

Contents

module FreshConnection
  class AbstractConnectionManager
    attr_reader :slave_group

    def initialize(slave_group = "slave")
      @slave_group = slave_group.to_s
      @slave_group = "slave" if @slave_group.empty?
    end

    def slave_connection
    end
    undef_method :slave_connection

    def clear_all_connections!
    end
    undef_method :clear_all_connections!

    def put_aside!
    end
    undef_method :put_aside!

    def recovery?
    end
    undef_method :recovery?
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fresh_connection-2.2.0 lib/fresh_connection/abstract_connection_manager.rb
fresh_connection-2.1.2 lib/fresh_connection/abstract_connection_manager.rb
fresh_connection-2.1.1 lib/fresh_connection/abstract_connection_manager.rb
fresh_connection-2.1.0 lib/fresh_connection/abstract_connection_manager.rb
fresh_connection-2.0.4 lib/fresh_connection/abstract_connection_manager.rb
fresh_connection-2.0.3 lib/fresh_connection/abstract_connection_manager.rb
fresh_connection-2.0.2 lib/fresh_connection/abstract_connection_manager.rb
fresh_connection-2.0.1 lib/fresh_connection/abstract_connection_manager.rb
fresh_connection-2.0.0 lib/fresh_connection/abstract_connection_manager.rb