Package org.openmetadata.service.util
Class ReIndexingHandler
- java.lang.Object
-
- org.openmetadata.service.util.ReIndexingHandler
-
public class ReIndexingHandler extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringREINDEXING_JOB_EXTENSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EventPublisherJobcreateReindexingJob(String startedBy, CreateEventPublisherJob createReindexingJob)List<EventPublisherJob>getAllJobs()static ReIndexingHandlergetInstance()EventPublisherJobgetJob(UUID jobId)EventPublisherJobgetLatestJob()static voidinitialize(SearchClient client, CollectionDAO daoObject)voidremoveCompletedJob(UUID jobId)EventPublisherJobstopRunningJob(UUID jobId)
-
-
-
Field Detail
-
REINDEXING_JOB_EXTENSION
public static final String REINDEXING_JOB_EXTENSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static ReIndexingHandler getInstance()
-
initialize
public static void initialize(SearchClient client, CollectionDAO daoObject)
-
createReindexingJob
public EventPublisherJob createReindexingJob(String startedBy, CreateEventPublisherJob createReindexingJob)
-
stopRunningJob
public EventPublisherJob stopRunningJob(UUID jobId)
-
removeCompletedJob
public void removeCompletedJob(UUID jobId)
-
getJob
public EventPublisherJob getJob(UUID jobId)
-
getLatestJob
public EventPublisherJob getLatestJob()
-
getAllJobs
public List<EventPublisherJob> getAllJobs()
-
-