DatabaseBackendFactory
class DatabaseBackendFactory implements CacheFactoryInterface (View source)
Properties
| protected Connection | $connection | The database connection. |
|
| protected CacheTagsChecksumInterface | $checksumProvider | The cache tags checksum provider. |
|
| protected Settings | $settings | The site settings. |
Methods
__construct(Connection $connection, CacheTagsChecksumInterface $checksum_provider, Settings $settings = NULL)
Constructs the DatabaseBackendFactory object.
get(string $bin)
Gets DatabaseBackend for the specified cache bin.
int
getMaxRowsForBin(string $bin)
Gets the max rows for the specified cache bin.
Details
__construct(Connection $connection, CacheTagsChecksumInterface $checksum_provider, Settings $settings = NULL)
Constructs the DatabaseBackendFactory object.
CacheBackendInterface
get(string $bin)
Gets DatabaseBackend for the specified cache bin.
protected int
getMaxRowsForBin(string $bin)
Gets the max rows for the specified cache bin.