ExRingRing. Application. UseCases. FindNode
(ex_ring_ring v0.1.0)
Copy Markdown
Use case for finding a node for an item in the hash ring.
Summary
Functions
Finds the node responsible for the given item.
Functions
@spec execute(ExRingRing.Domain.Entities.Ring.t(), term()) :: {:ok, ExRingRing.Domain.Entities.Node.t()} | :error
Finds the node responsible for the given item.