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 MetaIndexEnginepublic boolean isIndexReady(KCluster cluster, String indexerId)
isIndexReady in interface MetaIndexEnginepublic void prepareBatch(KCluster cluster)
prepareBatch in interface MetaIndexEnginepublic void startBatch(KCluster cluster)
startBatch in interface MetaIndexEnginepublic void index(KObject kObject)
index in interface MetaIndexEnginepublic void rename(KObjectKey from, KObject to)
rename in interface MetaIndexEngineprotected boolean exists(KObjectKey from)
public void delete(KCluster cluster)
delete in interface MetaIndexEnginepublic void delete(KObjectKey objectKey)
delete in interface MetaIndexEnginepublic void commit(KCluster cluster, String indexerId)
commit in interface MetaIndexEnginepublic void abort(KCluster cluster)
abort in interface MetaIndexEnginepublic void beforeDispose(Runnable callback)
beforeDispose in interface MetaIndexEnginepublic boolean isAlive()
isAlive in interface MetaIndexEnginepublic int priority()
priority in interface PriorityDisposablepublic void dispose()
dispose in interface Disposablepublic void cleanBatchLocks()
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.