Interface MorpheusComputePortService


  • public interface MorpheusComputePortService
    Context methods for syncing ComputePorts in Morpheus
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      io.reactivex.Single<java.lang.Boolean> create​(java.util.List<ComputePort> computePorts)
      Create new ComputePorts in Morpheus
      io.reactivex.Observable<ComputePort> listByRef​(java.lang.String refType, java.lang.Long refId, java.lang.String portType)
      Get a list of ComputePort objects by reference and portType
      io.reactivex.Single<java.lang.Boolean> remove​(java.util.List<ComputePort> computePorts)
      Remove persisted ComputePorts from Morpheus
    • Method Detail

      • listByRef

        io.reactivex.Observable<ComputePort> listByRef​(java.lang.String refType,
                                                       java.lang.Long refId,
                                                       java.lang.String portType)
        Get a list of ComputePort objects by reference and portType
        Parameters:
        refType - the reference type
        refId - the id of the referenced object
        portType - the portType. (optional)
        Returns:
        Observable stream of ComputePort
      • create

        io.reactivex.Single<java.lang.Boolean> create​(java.util.List<ComputePort> computePorts)
        Create new ComputePorts in Morpheus
        Parameters:
        computePorts - new ComputePorts to persist
        Returns:
        success
      • remove

        io.reactivex.Single<java.lang.Boolean> remove​(java.util.List<ComputePort> computePorts)
        Remove persisted ComputePorts from Morpheus
        Parameters:
        computePorts - ComputePorts to delete
        Returns:
        success