Class: Momento::Cache::Configurations::Laptop

Inherits:
Momento::Cache::Configuration show all
Defined in:
lib/momento/config/configurations.rb

Overview

Default Laptop configuration with 5000ms client timeout

Instance Attribute Summary

Attributes inherited from Momento::Cache::Configuration

#transport_strategy

Class Method Summary collapse

Methods inherited from Momento::Cache::Configuration

#initialize, #with_num_connections, #with_timeout, #with_transport_strategy

Constructor Details

This class inherits a constructor from Momento::Cache::Configuration

Class Method Details

.latestObject



11
12
13
# File 'lib/momento/config/configurations.rb', line 11

def self.latest
  return Configuration.new(StaticTransportStrategy.new(GrpcConfiguration.new(5000)))
end