Clear all partition handlers (useful for testing or reinitialization)
Get the number of registered handlers for a specific handler type
The handler type to check
Number of registered handlers for this type
Get all registered handler types
Array of handler types that have registered partition handlers
Process partition logic for a specific handler type
The type of handler being processed
Array of handler IDs to process
The data to pass to partition handlers
Record mapping handler IDs to partition results
Register a partition handler for a specific handler type and ID
The type of handler (e.g., HandlerType.ETH_LOG, HandlerType.APT_EVENT)
The unique ID for this handler instance
OptionalpartitionHandler: PartitionHandlerFunctionThe partition handler function (optional)
Generic manager for handling partition logic across all chain plugins. Provides a unified interface for registering, storing, and processing partition handlers. Chain-specific logic should remain in individual plugins.