Package org.bedework.calfacade.configs
Interface IndexProperties
- All Superinterfaces:
org.bedework.util.indexing.IndexingProperties
public interface IndexProperties
extends org.bedework.util.indexing.IndexingProperties
These are the properties that the indexer needs to know about.
Annotated to allow use by mbeans
- Author:
- douglm
-
Method Summary
Modifier and TypeMethodDescriptioncloneIt()longbooleanGet the indexer config locationbooleanbooleanintintvoidsetAccount(String val) voidsetContextInfoDelay(long val) voidsetDiscardMessages(boolean val) voidsetIndexerConfig(String val) voidsetIndexPublic(boolean val) voidsetIndexUsers(boolean val) voidsetMaxEntityThreads(int val) voidsetMaxPrincipalThreads(int val) voidsetSkipPaths(String val) voidsetSkipPathsList(List<String> val) Methods inherited from interface org.bedework.util.indexing.IndexingProperties
getClusterName, getIndexerPw, getIndexerToken, getIndexerURL, getIndexerUser, getKeyStore, getKeyStorePw, getNodeName, setClusterName, setIndexerPw, setIndexerToken, setIndexerURL, setIndexerUser, setKeyStore, setKeyStorePw, setNodeName
-
Method Details
-
setIndexerConfig
- Parameters:
val- The indexer config location
-
getIndexerConfig
String getIndexerConfig()Get the indexer config location- Returns:
- location
-
setAccount
- Parameters:
val- Account we run under
-
getAccount
String getAccount()- Returns:
- String account we use
-
setMaxEntityThreads
void setMaxEntityThreads(int val) - Parameters:
val- thread limit
-
getMaxEntityThreads
int getMaxEntityThreads()- Returns:
- thread limit
-
setMaxPrincipalThreads
void setMaxPrincipalThreads(int val) - Parameters:
val- thread limit
-
getMaxPrincipalThreads
int getMaxPrincipalThreads()- Returns:
- thread limit
-
setIndexPublic
void setIndexPublic(boolean val) - Parameters:
val- True if we do public
-
getIndexPublic
boolean getIndexPublic()- Returns:
- true if we do public
-
setIndexUsers
void setIndexUsers(boolean val) - Parameters:
val- True if we do users
-
getIndexUsers
boolean getIndexUsers()- Returns:
- true if we do users
-
setDiscardMessages
void setDiscardMessages(boolean val) - Parameters:
val- True if we just discard messages.
-
getDiscardMessages
boolean getDiscardMessages()- Returns:
- true if we just discard messages
-
setSkipPaths
- Parameters:
val- Paths to skip - ":" separated
-
getSkipPaths
String getSkipPaths()- Returns:
- Paths to skip - ":" separated
-
setContextInfoDelay
void setContextInfoDelay(long val) - Parameters:
val- Wait time in millis
-
getContextInfoDelay
long getContextInfoDelay()- Returns:
- Wait time in millis
-
setSkipPathsList
- Parameters:
val- Paths to skip as a list
-
getSkipPathsList
- Returns:
- Paths to skip as a list
-
cloneIt
IndexProperties cloneIt()- Returns:
- copy of this
-