Package com.logicalclocks.hsfs
Class OnlineIngestion
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrefresh()voidwaitForCompletion(int timeout, int period) Blocks until every entry of this ingestion is ingested ortimeoutseconds have passed.
-
Field Details
-
LOGGER
protected static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
OnlineIngestion
-
-
Method Details
-
refresh
- Throws:
FeatureStoreExceptionIOException
-
waitForCompletion
public void waitForCompletion(int timeout, int period) throws InterruptedException, FeatureStoreException, IOException Blocks until every entry of this ingestion is ingested ortimeoutseconds have passed. Atimeoutof 0 waits until every entry is ingested; an ingestion without an entry count cannot tell when that is, so with 0 its wait does not end on its own, and it logs a warning when it starts.
-