Interface MorpheusLoadBalancerProfileService
- All Superinterfaces:
MorpheusDataQueryService<NetworkLoadBalancerProfile>,MorpheusDataService<NetworkLoadBalancerProfile,,LoadBalancerProfileIdentityProjection> MorpheusIdentityService<LoadBalancerProfileIdentityProjection>
public interface MorpheusLoadBalancerProfileService
extends MorpheusDataService<NetworkLoadBalancerProfile,LoadBalancerProfileIdentityProjection>, MorpheusIdentityService<LoadBalancerProfileIdentityProjection>
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<Boolean>create(List<NetworkLoadBalancerProfile> profiles) Deprecated.io.reactivex.rxjava3.core.Single<Optional<NetworkLoadBalancerProfile>>findByExternalIdAndLoadBalancer(String externalId, NetworkLoadBalancer loadBalancer) Deprecated.io.reactivex.rxjava3.core.Observable<NetworkLoadBalancerProfile>listById(Collection<Long> ids) Deprecated.io.reactivex.rxjava3.core.Observable<LoadBalancerProfileIdentityProjection>listSyncProjections(Long loadBalancerId) Get a list ofNetworkLoadBalancerProfileprojections based on NetworkLoadBalancer idio.reactivex.rxjava3.core.Observable<NetworkLoadBalancerProfile>queryProfiles(Map args) Deprecated.io.reactivex.rxjava3.core.Single<Boolean>remove(List<LoadBalancerProfileIdentityProjection> profiles) Deprecated.io.reactivex.rxjava3.core.Single<Boolean>save(List<NetworkLoadBalancerProfile> profiles) Deprecated.useMorpheusDataService.bulkSave(java.util.List<M>)insteadMethods inherited from interface com.morpheusdata.core.MorpheusDataQueryService
count, find, get, list, list, listById, listOptions, listOptions, searchMethods inherited from interface com.morpheusdata.core.MorpheusDataService
bulkCreate, bulkRemove, bulkSave, create, remove, saveMethods inherited from interface com.morpheusdata.core.MorpheusIdentityService
getIdentityProperties, listIdentityProjections
-
Method Details
-
listSyncProjections
io.reactivex.rxjava3.core.Observable<LoadBalancerProfileIdentityProjection> listSyncProjections(Long loadBalancerId) Get a list ofNetworkLoadBalancerProfileprojections based on NetworkLoadBalancer id- Parameters:
loadBalancerId- the id of the load balancer- Returns:
- Observable stream of sync projection
-
listById
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Observable<NetworkLoadBalancerProfile> listById(Collection<Long> ids) Deprecated.Get a list ofNetworkLoadBalancerProfileobjects from a list of projection ids- Parameters:
ids- ids of load balancer nodes- Returns:
- Observable stream of
NetworkLoadBalancerProfileobjects
-
save
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> save(List<NetworkLoadBalancerProfile> profiles) Deprecated.useMorpheusDataService.bulkSave(java.util.List<M>)insteadSave updates to existing profiles- Specified by:
savein interfaceMorpheusDataService<NetworkLoadBalancerProfile,LoadBalancerProfileIdentityProjection> - Parameters:
profiles- updatedNetworkLoadBalancerProfileobjects- Returns:
- success
- See Also:
-
create
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> create(List<NetworkLoadBalancerProfile> profiles) Deprecated.Create new profiles in Morpheus- Specified by:
createin interfaceMorpheusDataService<NetworkLoadBalancerProfile,LoadBalancerProfileIdentityProjection> - Parameters:
profiles- newNetworkLoadBalancerProfileobjects to persist- Returns:
- success
- See Also:
-
remove
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> remove(List<LoadBalancerProfileIdentityProjection> profiles) Deprecated.Remove persisted profiles from Morpheus- Specified by:
removein interfaceMorpheusDataService<NetworkLoadBalancerProfile,LoadBalancerProfileIdentityProjection> - Parameters:
profiles-LoadBalancerProfileIdentityProjectionobjects to delete from database- Returns:
- success
- See Also:
-
findByExternalIdAndLoadBalancer
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Optional<NetworkLoadBalancerProfile>> findByExternalIdAndLoadBalancer(String externalId, NetworkLoadBalancer loadBalancer) Deprecated.retrieve a load balancer profile by external id and load balancer (used in syncing)- Parameters:
externalId- the id of theNetworkLoadBalancerProfilegenerated by the integrationloadBalancer-NetworkLoadBalancer- Returns:
- 1 or 0
NetworkLoadBalancerProfile
-
queryProfiles
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Observable<NetworkLoadBalancerProfile> queryProfiles(Map args) Deprecated.Use this method to query the database for load balancer profiles- Parameters:
args- a map of properties used to query the profiles- Returns:
- Observable stream of
NetworkLoadBalancerProfile
-
MorpheusDataService.bulkCreate(java.util.List<M>)instead