Package com.morpheusdata.core
Interface MorpheusComputePortService
- All Superinterfaces:
MorpheusDataQueryService<ComputePort>
,MorpheusDataService<ComputePort,
ComputePort>
Context methods for syncing ComputePorts in Morpheus
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<Boolean>
create
(List<ComputePort> computePorts) Create new ComputePorts in Morpheusio.reactivex.rxjava3.core.Observable<ComputePort>
Get a list of ComputePort objects by reference and portTypeio.reactivex.rxjava3.core.Single<Boolean>
remove
(List<ComputePort> computePorts) Remove persisted ComputePorts from MorpheusMethods inherited from interface com.morpheusdata.core.MorpheusDataQueryService
count, find, get, list, list, listById, listOptions, listOptions, search
Methods inherited from interface com.morpheusdata.core.MorpheusDataService
bulkCreate, bulkRemove, bulkSave, create, remove, save, save
-
Method Details
-
listByRef
io.reactivex.rxjava3.core.Observable<ComputePort> listByRef(String refType, Long refId, String portType) Get a list of ComputePort objects by reference and portType- Parameters:
refType
- the reference typerefId
- the id of the referenced objectportType
- the portType. (optional)- Returns:
- Observable stream of ComputePort
-
create
Create new ComputePorts in Morpheus- Specified by:
create
in interfaceMorpheusDataService<ComputePort,
ComputePort> - Parameters:
computePorts
- new ComputePorts to persist- Returns:
- success
- See Also:
-
remove
Remove persisted ComputePorts from Morpheus- Specified by:
remove
in interfaceMorpheusDataService<ComputePort,
ComputePort> - Parameters:
computePorts
- ComputePorts to delete- Returns:
- success
- See Also:
-