public interface IndexerContext
Modifier and Type | Method and Description |
---|---|
boolean |
canReadWhenLocked()
Describes if the context can be used to execute read operation when indexer is locked
|
boolean |
canWriteWhenLocked()
Describes if the context can be used to execute write operation when indexer is locked
|
com.atlassian.bonnie.ILuceneConnection |
getConnection() |
com.google.common.util.concurrent.ListeningExecutorService |
getExecutorService() |
AtomicBoolean |
getIndexerLockStatus()
Get indexer lock status (currently indexer is only locked while reindexing)
|
@NotNull com.atlassian.bonnie.ILuceneConnection getConnection()
@NotNull AtomicBoolean getIndexerLockStatus()
@NotNull com.google.common.util.concurrent.ListeningExecutorService getExecutorService()
boolean canReadWhenLocked()
boolean canWriteWhenLocked()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.