View Source Dagger.DaggerEngineCacheEntry (dagger v0.12.7)

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 DaggerEngineCacheEntry.

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

Types

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

Functions

Link to this function

actively_used(dagger_engine_cache_entry)

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

Whether the cache entry is actively being used.

Link to this function

created_time_unix_nano(dagger_engine_cache_entry)

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

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

Link to this function

description(dagger_engine_cache_entry)

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

The description of the cache entry.

Link to this function

disk_space_bytes(dagger_engine_cache_entry)

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

The disk space used by the cache entry.

Link to this function

id(dagger_engine_cache_entry)

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

A unique identifier for this DaggerEngineCacheEntry.

Link to this function

most_recent_use_time_unix_nano(dagger_engine_cache_entry)

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

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