View Source Dagger.DaggerEngineCacheEntrySet (dagger v0.13.6)

A set of cache entries returned by a query to a cache

Summary

Functions

The total disk space used by the cache entries in this set.

The list of individual cache entries in the set

The number of cache entries in this set.

A unique identifier for this DaggerEngineCacheEntrySet.

Types

@type t() :: %Dagger.DaggerEngineCacheEntrySet{client: term(), query_builder: term()}

Functions

Link to this function

disk_space_bytes(dagger_engine_cache_entry_set)

View Source
@spec disk_space_bytes(t()) :: {:ok, integer()} | {:error, term()}

The total disk space used by the cache entries in this set.

Link to this function

entries(dagger_engine_cache_entry_set)

View Source
@spec entries(t()) :: {:ok, [Dagger.DaggerEngineCacheEntry.t()]} | {:error, term()}

The list of individual cache entries in the set

Link to this function

entry_count(dagger_engine_cache_entry_set)

View Source
@spec entry_count(t()) :: {:ok, integer()} | {:error, term()}

The number of cache entries in this set.

Link to this function

id(dagger_engine_cache_entry_set)

View Source
@spec id(t()) :: {:ok, Dagger.DaggerEngineCacheEntrySetID.t()} | {:error, term()}

A unique identifier for this DaggerEngineCacheEntrySet.