public class GridIndexingManager extends GridManagerAdapter<IndexingSpi>
GridComponent.DiscoveryDataExchangeTypectx, log| Constructor and Description |
|---|
GridIndexingManager(GridKernalContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onKernalStop0(boolean cancel) |
IgniteSpiCloseableIterator<?> |
query(String cacheName,
Collection<Object> params,
IndexingQueryFilter filters) |
void |
remove(String cacheName,
Object key) |
void |
start()
Starts grid component.
|
void |
stop(boolean cancel)
Stops grid component.
|
<K,V> void |
store(String cacheName,
K key,
V val,
long expirationTime)
Writes key-value pair to index.
|
assertParameter, collectGridNodeData, collectJoiningNodeData, discoveryDataType, enabled, getSpi, getSpi, getSpis, inject, onAfterSpiStart, onBeforeSpiStart, onDisconnected, onGridDataReceived, onJoiningNodeDataReceived, onKernalStart, onKernalStart0, onKernalStop, onReconnected, printMemoryStats, startInfo, startSpi, stopInfo, stopSpi, toString, validateNode, validateNodepublic GridIndexingManager(GridKernalContext ctx)
ctx - Kernal context.public void start()
throws IgniteCheckedException
GridComponentIgniteCheckedException - Thrown in case of any errors.protected void onKernalStop0(boolean cancel)
onKernalStop0 in class GridManagerAdapter<IndexingSpi>cancel - Cancel flag.public void stop(boolean cancel)
throws IgniteCheckedException
GridComponentcancel - If true, then all ongoing tasks or jobs for relevant
components need to be cancelled.IgniteCheckedException - Thrown in case of any errors.public <K,V> void store(String cacheName, K key, V val, long expirationTime) throws IgniteCheckedException
cacheName - Cache name.key - Key.val - Value.expirationTime - Expiration time or 0 if never expires.IgniteCheckedException - In case of error.public void remove(String cacheName, Object key) throws IgniteCheckedException
cacheName - Cache name.key - Key.IgniteCheckedException - Thrown in case of any errors.public IgniteSpiCloseableIterator<?> query(String cacheName, Collection<Object> params, IndexingQueryFilter filters) throws IgniteCheckedException
cacheName - Cache name.params - Parameters collection.filters - Filters.IgniteCheckedException - If failed.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019