View Source Dagger.EngineCacheEntry (dagger v0.15.1)

An individual cache entry in a cache entry set

Summary

Functions

Whether the cache entry is actively being used.

The time the cache entry was created, in Unix nanoseconds.

The description of the cache entry.

The disk space used by the cache entry.

A unique identifier for this EngineCacheEntry.

The most recent time the cache entry was used, in Unix nanoseconds.

Types

t()

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

Functions

actively_used(engine_cache_entry)

@spec actively_used(t()) :: {:ok, boolean()} | {:error, term()}

Whether the cache entry is actively being used.

created_time_unix_nano(engine_cache_entry)

@spec created_time_unix_nano(t()) :: {:ok, integer()} | {:error, term()}

The time the cache entry was created, in Unix nanoseconds.

description(engine_cache_entry)

@spec description(t()) :: {:ok, String.t()} | {:error, term()}

The description of the cache entry.

disk_space_bytes(engine_cache_entry)

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

The disk space used by the cache entry.

id(engine_cache_entry)

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

A unique identifier for this EngineCacheEntry.

most_recent_use_time_unix_nano(engine_cache_entry)

@spec most_recent_use_time_unix_nano(t()) :: {:ok, integer()} | {:error, term()}

The most recent time the cache entry was used, in Unix nanoseconds.