PVCache class
All-in-one helper for managing HiveHook configurations and caches.
Example:
// Register config
PVCache.registerConfig(env: 'mybox');
// Get cache instance
final cache = PVCache.getCache('mybox');
Constructors
- PVCache()
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getCache(
String env) → HHive - Get a cache instance for the given environment.
-
registerConfig(
{required String env, bool usesMeta = false, List< HHPlugin> ? plugins}) → void - Register a configuration for an environment.
-
setDefaultPlugins(
List< HHPlugin> plugins) → void - Set default plugins to be applied to all registered configs.
-
setDefaultTHooks(
List< TerminalSerializationHook> hooks) → void - Set default terminal hooks to be applied to all registered configs.