Source: factory.core/extend.data/ObjDataKey.py
Multi-backend key-value store manager for Axion.
Supports three backends:
| Method | Signature | Description |
|---|---|---|
| connect_keystore | connect_keystore(backend: str = '', ip: str = REDIS_HOST, port: str = REDIS_PORT, user: str = '', password: str = '') |
Universal connection method for Redis and DragonflyDB backends. |
| set_cache | set_cache(name: str, store_data: Union[str, dict, list], ttl: int = -1) |
Backend-agnostic cache setter. |
| get_cache | get_cache(name: str) |
Backend-agnostic cache getter. |
| has_keystore | has_keystore() -> bool |
Universal health check for keystore connection |
| has_redis | has_redis() -> bool |
Backward compatibility alias for has_keystore() |
| connect_redis | connect_redis(ip: str = REDIS_HOST, port: str = REDIS_PORT, user: str = '', password: str = '') |
Backward compatibility alias for connect_keystore() |
ObjDataKey CLI.
Verify keystore connectivity and display configuration
Display keystore configuration details