Package com.aserto.directory.v3
Interface DirectoryClientImporter
- All Known Implementing Classes:
DirectoryClient
public interface DirectoryClientImporter
-
Method Summary
Modifier and TypeMethodDescriptionvoidimportData(Stream<ImportElement> importStream) Deprecated.io.grpc.StatusimportData(Stream<ImportElement> importStream, ImportHandler handler) Sets and/or deletes a stream of objects and relations.
-
Method Details
-
importData
@Deprecated void importData(Stream<ImportElement> importStream) throws InterruptedException, UninitilizedClientException Deprecated.useimportData(Stream<ImportElement>, ImportHandler)insteadSets and/or deletes a stream of objects and relations without any feedback.- Parameters:
importStream- a stream ofImportElementobjects representing the set of objects and/or relations to be added or deleted.- Throws:
InterruptedException- if the operations is interrupted before completion.UninitilizedClientException- if called on an uninitialized client.
-
importData
io.grpc.Status importData(Stream<ImportElement> importStream, ImportHandler handler) throws InterruptedException, UninitilizedClientException Sets and/or deletes a stream of objects and relations.- Parameters:
importStream- a stream ofImportElementobjects representing the set of objects and/or relations to be added or deleted.handler- aImportHandlerobject to receive progress and error events.- Throws:
InterruptedException- if the operations is interrupted before completion.UninitilizedClientException- if called on an uninitialized client.
-
importData(Stream<ImportElement>, ImportHandler)instead