Interface Worker.Accessor

All Superinterfaces:
AutoCloseable
All Known Subinterfaces:
Worker.Mutator
Enclosing interface:
Worker

public static interface Worker.Accessor extends AutoCloseable
Allows client code to read the sstate of the Worker
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Releases any resources associated with the Worker.Mutator.
    Set<dev.getelements.elements.rt.remote.InstanceConnectionService.InstanceBinding>
    Gets all active InstanceConnectionService.InstanceBindings.
    Gets all Node instances running in this Worker.
  • Method Details

    • getNodeSet

      Set<Node> getNodeSet()
      Gets all Node instances running in this Worker.
      Returns:
      a Set<Node>
    • getBindingSet

      Set<dev.getelements.elements.rt.remote.InstanceConnectionService.InstanceBinding> getBindingSet()
      Gets all active InstanceConnectionService.InstanceBindings.
      Returns:
      the binding set
    • close

      void close()
      Releases any resources associated with the Worker.Mutator.
      Specified by:
      close in interface AutoCloseable