public class MetadataIndexEngine extends Object implements MetaIndexEngine
FULL_TEXT_FIELD
Constructor and Description |
---|
MetadataIndexEngine(IndexProvider provider,
MetaModelStore metaModelStore) |
MetadataIndexEngine(IndexProvider provider,
MetaModelStore metaModelStore,
Supplier<MultiIndexerLock> lockSupplier) |
Modifier and Type | Method and Description |
---|---|
void |
abort(KCluster cluster) |
void |
beforeDispose(Runnable callback) |
void |
cleanBatchLocks() |
void |
commit(KCluster cluster,
String indexerId) |
void |
delete(KCluster cluster) |
void |
delete(KObjectKey objectKey) |
void |
dispose() |
protected boolean |
exists(KObjectKey from) |
boolean |
freshIndex(KCluster cluster) |
void |
index(KObject kObject) |
boolean |
isAlive() |
boolean |
isIndexReady(KCluster cluster,
String indexerId) |
void |
prepareBatch(KCluster cluster) |
int |
priority() |
void |
rename(KObjectKey from,
KObject to) |
void |
startBatch(KCluster cluster) |
public MetadataIndexEngine(IndexProvider provider, MetaModelStore metaModelStore, Supplier<MultiIndexerLock> lockSupplier)
public MetadataIndexEngine(IndexProvider provider, MetaModelStore metaModelStore)
public boolean freshIndex(KCluster cluster)
freshIndex
in interface MetaIndexEngine
public boolean isIndexReady(KCluster cluster, String indexerId)
isIndexReady
in interface MetaIndexEngine
public void prepareBatch(KCluster cluster)
prepareBatch
in interface MetaIndexEngine
public void startBatch(KCluster cluster)
startBatch
in interface MetaIndexEngine
public void index(KObject kObject)
index
in interface MetaIndexEngine
public void rename(KObjectKey from, KObject to)
rename
in interface MetaIndexEngine
protected boolean exists(KObjectKey from)
public void delete(KCluster cluster)
delete
in interface MetaIndexEngine
public void delete(KObjectKey objectKey)
delete
in interface MetaIndexEngine
public void commit(KCluster cluster, String indexerId)
commit
in interface MetaIndexEngine
public void abort(KCluster cluster)
abort
in interface MetaIndexEngine
public void beforeDispose(Runnable callback)
beforeDispose
in interface MetaIndexEngine
public boolean isAlive()
isAlive
in interface MetaIndexEngine
public int priority()
priority
in interface PriorityDisposable
public void dispose()
dispose
in interface Disposable
public void cleanBatchLocks()
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.