Class NodePage<R>

  • All Implemented Interfaces:
    Iterator<R>

    public class NodePage<R>
    extends Object
    implements Iterator<R>
    Represents a single page with results of cache query from single node.
    • Constructor Detail

      • NodePage

        public NodePage​(UUID nodeId,
                        Collection<R> data)
        Parameters:
        nodeId - Node ID.
        data - Page data.
    • Method Detail

      • head

        public R head()
      • nodeId

        public UUID nodeId()
      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface Iterator<R>
      • next

        public R next()
        Specified by:
        next in interface Iterator<R>