Interface MorpheusSynchronousLoadBalancerPartitionService
public interface MorpheusSynchronousLoadBalancerPartitionService
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(List<ReferenceData> partitions) Create new partition in MorpheuslistById
(Collection<Long> ids) Get a list of ReferenceData (partitions) objects from a list of projection idslistSyncProjections
(Long loadBalancerId, String objCategory) Get a list ofReferenceData
projections based on NetworkLoadBalancer idremove
(List<ReferenceDataSyncProjection> partitions) Remove persisted partition from Morpheussave
(List<ReferenceData> partitions) Save updates to existing partition
-
Method Details
-
listSyncProjections
Get a list ofReferenceData
projections based on NetworkLoadBalancer id- Parameters:
loadBalancerId
- the id of the load balancerobjCategory
- an additional category to use for sync comparison- Returns:
- Observable stream of sync projection
-
listById
Get a list of ReferenceData (partitions) objects from a list of projection ids- Parameters:
ids
- partitionid- Returns:
- Observable stream of partition
-
save
Save updates to existing partition- Parameters:
partitions
- updated partition- Returns:
- success
-
create
Create new partition in Morpheus- Parameters:
partitions
- new ReferenceData (partition) to persist- Returns:
- success
-
remove
Remove persisted partition from Morpheus- Parameters:
partitions
- Images to delete- Returns:
- success
-