- All Known Implementing Classes:
IndexingPressure
public interface IndexingPressureMonitor
Monitors indexing pressure events within the system and tracks operation sizes.
This interface provides mechanisms to check maximum allowed operation sizes
and register listeners for indexing pressure events.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Listener interface for receiving notifications about indexing pressure events. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Registers a listener to be notified of indexing pressure events.long
Returns the maximum allowed size in bytes for any single indexing operation.
-
Method Details
-
getMaxAllowedOperationSizeInBytes
long getMaxAllowedOperationSizeInBytes()Returns the maximum allowed size in bytes for any single indexing operation. Operations exceeding this limit may be rejected.- Returns:
- the maximum allowed operation size in bytes
-
addListener
Registers a listener to be notified of indexing pressure events. The listener will receive callbacks when operations are tracked or rejected.- Parameters:
listener
- the listener to register for indexing pressure events
-