@ThreadSafe public class DefaultIndex extends Object
DefaultIndex.Engine
to perform actual writes to an index.Modifier and Type | Class and Description |
---|---|
static class |
DefaultIndex.Failure
Indicate that an operation failed.
|
static class |
DefaultIndex.Success
Indicate that an operation completed successfully.
|
Index.Manager, Index.Operation, Index.Result, Index.UpdateMode
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this stream and releases any system resources associated with it.
|
Index.Result |
perform(Index.Operation operation)
Perform an
Index.Operation on the index. |
@Nonnull public Index.Result perform(@Nonnull Index.Operation operation)
Index
Index.Operation
on the index.operation
- the work to do.public void close()
Closeable
Copyright © 2002-2021 Atlassian. All Rights Reserved.