Class: Momento::Cache::Configurations::InRegion

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

Overview

Default Laptop configuration with 1100ms 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



18
19
20
# File 'lib/momento/config/configurations.rb', line 18

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