|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ThreadSafe public interface Engine
Nested Class Summary | |
---|---|
static class |
Engine.Create
|
static class |
Engine.Delete
|
static class |
Engine.DeleteByQuery
|
static class |
Engine.Flush
|
static class |
Engine.Index
|
static interface |
Engine.Operation
|
static class |
Engine.Optimize
|
static interface |
Engine.RecoveryHandler
Recovery allow to start the recovery process. |
static class |
Engine.Refresh
|
static interface |
Engine.Searcher
|
static interface |
Engine.SnapshotHandler<T>
|
Method Summary | ||
---|---|---|
void |
create(Engine.Create create)
|
|
void |
delete(Engine.Delete delete)
|
|
void |
delete(Engine.DeleteByQuery delete)
|
|
ByteSizeValue |
estimateFlushableMemorySize()
Returns the estimated flushable memory size. |
|
void |
flush(Engine.Flush flush)
Flushes the state of the engine, clearing memory. |
|
void |
index(Engine.Index index)
|
|
void |
maybeMerge()
|
|
void |
optimize(Engine.Optimize optimize)
|
|
boolean |
possibleMergeNeeded()
Returns true if a possible merge is really needed. |
|
void |
recover(Engine.RecoveryHandler recoveryHandler)
|
|
void |
refresh(Engine.Refresh refresh)
Refreshes the engine for new search operations to reflect the latest changes. |
|
boolean |
refreshNeeded()
Returns true if a refresh is really needed. |
|
Engine.Searcher |
searcher()
|
|
|
snapshot(Engine.SnapshotHandler<T> snapshotHandler)
|
|
void |
start()
Starts the Engine. |
|
void |
updateIndexingBufferSize(ByteSizeValue indexingBufferSize)
|
Methods inherited from interface org.elasticsearch.index.shard.IndexShardComponent |
---|
indexSettings, shardId |
Methods inherited from interface org.elasticsearch.common.component.CloseableComponent |
---|
close |
Method Detail |
---|
void updateIndexingBufferSize(ByteSizeValue indexingBufferSize)
void start() throws EngineException
Note, after the creation and before the call to start, the store might be changed.
EngineException
void create(Engine.Create create) throws EngineException
EngineException
void index(Engine.Index index) throws EngineException
EngineException
void delete(Engine.Delete delete) throws EngineException
EngineException
void delete(Engine.DeleteByQuery delete) throws EngineException
EngineException
Engine.Searcher searcher() throws EngineException
EngineException
boolean refreshNeeded()
boolean possibleMergeNeeded()
void maybeMerge() throws EngineException
EngineException
void refresh(Engine.Refresh refresh) throws EngineException
EngineException
void flush(Engine.Flush flush) throws EngineException, FlushNotAllowedEngineException
EngineException
FlushNotAllowedEngineException
void optimize(Engine.Optimize optimize) throws EngineException
EngineException
<T> T snapshot(Engine.SnapshotHandler<T> snapshotHandler) throws EngineException
EngineException
void recover(Engine.RecoveryHandler recoveryHandler) throws EngineException
EngineException
ByteSizeValue estimateFlushableMemorySize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |