use std::sync::Arc;
use anyhow::Result;
use tracing::warn;
pub struct CacheIntegration {
}
impl CacheIntegration {
pub fn new() -> Self {
Self {}
}
pub async fn get_cached_result(
&self,
_namespace: &str,
_key: &serde_json::Value,
) -> Result<Option<serde_json::Value>> {
warn!("Cache integration is temporarily disabled");
Ok(None)
}
pub async fn cache_result(
&self,
_namespace: &str,
_key: &serde_json::Value,
_value: &serde_json::Value,
) -> Result<()> {
warn!("Cache integration is temporarily disabled");
Ok(())
}
pub async fn invalidate(&self, _namespace: &str, _pattern: &str) -> Result<()> {
warn!("Cache integration is temporarily disabled");
Ok(())
}
}