Module: Dalli::Protocol
- Defined in:
- lib/dalli/protocol.rb,
lib/dalli/protocol/base.rb,
lib/dalli/protocol/meta.rb,
lib/dalli/protocol/binary.rb,
lib/dalli/protocol/ttl_sanitizer.rb,
lib/dalli/protocol/response_buffer.rb,
lib/dalli/protocol/value_compressor.rb,
lib/dalli/protocol/value_marshaller.rb,
lib/dalli/protocol/value_serializer.rb,
lib/dalli/protocol/connection_manager.rb,
lib/dalli/protocol/meta/key_regularizer.rb,
lib/dalli/protocol/server_config_parser.rb,
lib/dalli/protocol/binary/response_header.rb,
lib/dalli/protocol/meta/request_formatter.rb,
lib/dalli/protocol/meta/response_processor.rb,
lib/dalli/protocol/binary/request_formatter.rb,
lib/dalli/protocol/binary/response_processor.rb,
lib/dalli/protocol/binary/sasl_authentication.rb
Defined Under Namespace
Classes: Base, Binary, ConnectionManager, Meta, ResponseBuffer, ServerConfigParser, TtlSanitizer, ValueCompressor, ValueMarshaller, ValueSerializer
Constant Summary collapse
- NOT_FOUND =
Preserved for backwards compatibility. Should be removed in 4.0
::Dalli::NOT_FOUND
- TIMEOUT_ERRORS =
Ruby 3.2 raises IO::TimeoutError on blocking reads/writes, but it is not defined in earlier Ruby versions.
if defined?(IO::TimeoutError) [Timeout::Error, IO::TimeoutError] else [Timeout::Error] end