Interface MorpheusLoadBalancerProfileService
- All Superinterfaces:
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 ofNetworkLoadBalancerProfile
projections 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.MorpheusDataService
bulkCreate, bulkRemove, bulkSave, count, create, find, get, list, listById, listOptions, remove, save, search
Methods inherited from interface com.morpheusdata.core.MorpheusIdentityService
getIdentityProperties, listIdentityProjections
-
Method Details
-
listSyncProjections
io.reactivex.rxjava3.core.Observable<LoadBalancerProfileIdentityProjection> listSyncProjections(Long loadBalancerId) Get a list ofNetworkLoadBalancerProfile
projections 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 ofNetworkLoadBalancerProfile
objects from a list of projection ids- Parameters:
ids
- ids of load balancer nodes- Returns:
- Observable stream of
NetworkLoadBalancerProfile
objects
-
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:
save
in interfaceMorpheusDataService<NetworkLoadBalancerProfile,
LoadBalancerProfileIdentityProjection> - Parameters:
profiles
- updatedNetworkLoadBalancerProfile
objects- 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:
create
in interfaceMorpheusDataService<NetworkLoadBalancerProfile,
LoadBalancerProfileIdentityProjection> - Parameters:
profiles
- newNetworkLoadBalancerProfile
objects 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:
remove
in interfaceMorpheusDataService<NetworkLoadBalancerProfile,
LoadBalancerProfileIdentityProjection> - Parameters:
profiles
-LoadBalancerProfileIdentityProjection
objects 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 theNetworkLoadBalancerProfile
generated 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