Class: Jiggler::RedisClient

Inherits:
RedisClient
  • Object
show all
Defined in:
lib/jiggler/redis_store.rb

Instance Method Summary collapse

Instance Method Details

#closed?Boolean

Returns:

  • (Boolean)


47
48
49
# File 'lib/jiggler/redis_store.rb', line 47

def closed?
  @raw_connection.nil?
end

#concurrencyObject



39
40
41
# File 'lib/jiggler/redis_store.rb', line 39

def concurrency
  1
end

#reusable?Boolean

Returns:

  • (Boolean)


51
52
53
# File 'lib/jiggler/redis_store.rb', line 51

def reusable?
  !@raw_connection.nil?
end

#viable?Boolean

Returns:

  • (Boolean)


43
44
45
# File 'lib/jiggler/redis_store.rb', line 43

def viable?
  connected?
end