pub struct ProductionIndexCoordinator { /* private fields */ }Expand description
Workspace indexing and refactoring orchestration. Workspace index coordinator.
Integrates state machine, caching, and SLO monitoring with comprehensive performance optimization.
Implementations§
Source§impl ProductionIndexCoordinator
impl ProductionIndexCoordinator
Sourcepub fn new() -> ProductionIndexCoordinator
pub fn new() -> ProductionIndexCoordinator
Sourcepub fn with_config(
config: ProductionCoordinatorConfig,
) -> ProductionIndexCoordinator
pub fn with_config( config: ProductionCoordinatorConfig, ) -> ProductionIndexCoordinator
Create a new production coordinator with custom configuration.
§Arguments
config- Coordinator configuration
§Returns
A new production coordinator instance.
§Examples
use perl_workspace_index::workspace::production_coordinator::{
ProductionCoordinatorConfig, ProductionIndexCoordinator,
};
let config = ProductionCoordinatorConfig::default();
let coordinator = ProductionIndexCoordinator::with_config(config);Sourcepub fn state(&self) -> IndexState
pub fn state(&self) -> IndexState
Sourcepub fn index(&self) -> &Arc<WorkspaceIndex>
pub fn index(&self) -> &Arc<WorkspaceIndex>
Get reference to the underlying workspace index.
Sourcepub fn cache(&self) -> &Arc<WorkspaceCacheManager>
pub fn cache(&self) -> &Arc<WorkspaceCacheManager>
Get reference to the cache manager.
Sourcepub fn slo_tracker(&self) -> &Arc<SloTracker>
pub fn slo_tracker(&self) -> &Arc<SloTracker>
Get reference to the SLO tracker.
Sourcepub fn config(&self) -> &ProductionCoordinatorConfig
pub fn config(&self) -> &ProductionCoordinatorConfig
Get the coordinator configuration.
Sourcepub fn initialize(&self) -> Result<(), String>
pub fn initialize(&self) -> Result<(), String>
Sourcepub fn find_definition(&self, symbol_name: &str) -> Option<Location>
pub fn find_definition(&self, symbol_name: &str) -> Option<Location>
Sourcepub fn find_references(&self, symbol_name: &str) -> Vec<Location>
pub fn find_references(&self, symbol_name: &str) -> Vec<Location>
Sourcepub fn invalidate(&self, reason: InvalidationReason)
pub fn invalidate(&self, reason: InvalidationReason)
Sourcepub fn statistics(&self) -> CoordinatorStatistics
pub fn statistics(&self) -> CoordinatorStatistics
Trait Implementations§
Source§impl Default for ProductionIndexCoordinator
impl Default for ProductionIndexCoordinator
Source§fn default() -> ProductionIndexCoordinator
fn default() -> ProductionIndexCoordinator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProductionIndexCoordinator
impl !RefUnwindSafe for ProductionIndexCoordinator
impl Send for ProductionIndexCoordinator
impl Sync for ProductionIndexCoordinator
impl Unpin for ProductionIndexCoordinator
impl UnsafeUnpin for ProductionIndexCoordinator
impl !UnwindSafe for ProductionIndexCoordinator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more