问题
We need to implement a distributed priority queue within Hazelcast at the moment and the only documentation we can find on the matter is this: https://blog.hazelcast.com/priority-queueing-using-spi/, which is not a production ready implementation.
It references MigrationAwareService
and BackupAwareOperation
interfaces and provides a basic example for how to implement them, but after inspecting Hazelcast's own QueueService
it doesn't look like these examples will suffice. Is it better to use QueueService
as guidance instead?
On top of this, it looks as though there is no documentation or examples to make this custom distributed object adhere to Hazelcast's client-server protocol.
Does Hazelcast have any plans to implement this object in the near future? I've discovered OperationQueue
- is this a distributed priority queue implementation we can use?
来源:https://stackoverflow.com/questions/50119755/does-hazelcast-have-a-distributed-priority-queue-implementation