Package org.apache.opendal.layer
package org.apache.opendal.layer
Wrappers to configure the underneath layers.
-
ClassDescriptionCaches aligned chunks of reads in a separate operator.Configures the cache chunk size and metadata freshness.Validates optional operation arguments against the capabilities of the wrapped service.Layer that overrides the full capability exposed by an operator.Injects temporary
OpenDALException.Code.Unexpectederrors when opening a read or reading data, to exercise error handling in tests.Limits concurrent storage operations.Configures optional limits for reads, writes, lists, and HTTP requests.Starts duplicate attempts for slow stat calls and reads.Builds a hedge layer with optional per-operation delays.Provides an immutable in-memory listing index for services without native list support, such as HTTP.Records OpenDAL operations and outbound HTTP requests through the Rustlogfacade.Fills in the content type on writes and stat results based on the file extension.This layer will retry failed operations whenError::is_temporaryreturnstrue.Routes storage operations by matching paths against glob patterns in the order the routes were added.Collects ordered routes and builds one layer.Detects duplicate entries during a listing.Cancels slow calls using an adaptive deadline based on recent successful calls.Configures the latency history and adaptive deadline.Limits bandwidth for bounded read ranges and write buffers.Applies deadlines to control operations and individual I/O calls.Identifies an operation that can have its own timeout.Configures the default and per-operation timeouts for a timeout layer.