Interface MorpheusLoadBalancerPartitionService


public interface MorpheusLoadBalancerPartitionService
  • Method Details

    • listSyncProjections

      io.reactivex.rxjava3.core.Observable<ReferenceDataSyncProjection> listSyncProjections(Long loadBalancerId, String objCategory)
      Get a list of ReferenceData projections based on NetworkLoadBalancer id
      Parameters:
      loadBalancerId - the id of the load balancer
      objCategory - an additional category to use for sync comparison
      Returns:
      Observable stream of sync projection
    • listById

      io.reactivex.rxjava3.core.Observable<ReferenceData> listById(Collection<Long> ids)
      Get a list of ReferenceData (partitions) objects from a list of projection ids
      Parameters:
      ids - partitionid
      Returns:
      Observable stream of partition
    • save

      io.reactivex.rxjava3.core.Single<Boolean> save(List<ReferenceData> partitions)
      Save updates to existing partition
      Parameters:
      partitions - updated partition
      Returns:
      success
    • create

      io.reactivex.rxjava3.core.Single<Boolean> create(List<ReferenceData> partitions)
      Create new partition in Morpheus
      Parameters:
      partitions - new ReferenceData (partition) to persist
      Returns:
      success
    • remove

      io.reactivex.rxjava3.core.Single<Boolean> remove(List<ReferenceDataSyncProjection> partitions)
      Remove persisted partition from Morpheus
      Parameters:
      partitions - Images to delete
      Returns:
      success