Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

JMX Console: add 'Empty Queue' methods #77

Closed
Gavrilov-Ivan opened this issue Jul 30, 2021 · 1 comment
Closed

JMX Console: add 'Empty Queue' methods #77

Gavrilov-Ivan opened this issue Jul 30, 2021 · 1 comment
Assignees
Milestone

Comments

@Gavrilov-Ivan
Copy link
Contributor

Gavrilov-Ivan commented Jul 30, 2021

Add 'Empty Queue' methods - per entity and entire queue.

API changes

  • IndexingQueueManager
    • void emptyQueue(String entityName) - change return type void -> int
    • add int emptyQueue()

Testing:

  1. Configure some entities for indexing
  2. Disable automatic queue processing
  3. Create few indexable instances
  4. Execute target 'empty queue' method (per-entity\all) in JMX console. ER: message about N removed items
  5. Execute method again. ER: message about 0 removed items
@maistrenkoIulia
Copy link

verified

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants