ICacheDriverRegistry class abstract

Interface for cache driver registry management. Defines the contract for registering and retrieving cache drivers.

Implementers

Constructors

ICacheDriverRegistry()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getDefaultDriver() CacheDriver
Gets the current default driver.
getDefaultDriverName() String
Gets the name of the current default driver.
getDriver(String name) CacheDriver?
Gets a cache driver by name. Returns null if the driver is not registered.
getDriverNames() List<String>
Gets all registered driver names.
hasDriver(String name) bool
Checks if a driver is registered.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerDriver(String name, CacheDriver driver) → void
Registers a cache driver with the given name. Throws CacheException if the driver name is empty or already registered.
removeDriver(String name) → void
Removes a driver from the registry. Throws CacheException if the driver is not registered or is the default driver.
setDefaultDriver(String name) → void
Sets the default cache driver. Throws CacheException if the driver is not registered.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited