Class: CacheStore Abstract Private

Inherits:
Object show all
Extended by:
T::Generic, T::Helpers
Defined in:
cache_store/cache_store.rb

Overview

This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.

This class is abstract.

It cannot be directly instantiated. Subclasses must implement the abstract methods below.

CacheStore provides methods to mutate and fetch data from a persistent storage mechanism.

Direct Known Subclasses

DescriptionCacheStore, LinkageCacheStore

Constant Summary collapse

Key =

This constant is part of a private API. This constant may only be used in the Homebrew/brew repository. Third parties should avoid using this constant if possible, as it may be removed or changed without warning.

type_member
Value =

This constant is part of a private API. This constant may only be used in the Homebrew/brew repository. Third parties should avoid using this constant if possible, as it may be removed or changed without warning.

type_member

Instance Method Summary collapse

Constructor Details

#initialize(database) ⇒ void

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Parameters:



18
19
20
# File 'cache_store/cache_store.rb', line 18

def initialize(database)
  @database = database
end