public class StorageConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CORE_MARKLOGIC |
static String |
CORE_MEM |
static String |
CORE_MONGODB |
static String |
CORE_PROPERTY |
static String |
CORE_VCS |
static String |
DEFAULT_CORE |
static String |
DEFAULT_MONGODB_DBNAME |
static String |
DEFAULT_MONGODB_SERVER |
Constructor and Description |
---|
StorageConfiguration(CoreFeature feature) |
Modifier and Type | Method and Description |
---|---|
protected static String |
defaultProperty(String name,
String def) |
static String |
defaultSystemProperty(String name,
String def) |
URL |
getBlobManagerContrib(FeaturesRunner runner) |
String |
getCoreType() |
List<String> |
getExternalBundles() |
URL |
getRepositoryContrib(FeaturesRunner runner) |
String |
getRepositoryName() |
protected void |
init() |
protected void |
initExternal() |
void |
initJDBC() |
protected void |
initMongoDB() |
boolean |
isChangeTokenEnabled() |
boolean |
isDBS() |
boolean |
isDBSExternal() |
boolean |
isDBSMarkLogic() |
boolean |
isDBSMem() |
boolean |
isDBSMongoDB() |
boolean |
isVCS() |
boolean |
isVCSDB2() |
boolean |
isVCSDerby() |
boolean |
isVCSH2() |
boolean |
isVCSMySQL() |
boolean |
isVCSOracle() |
boolean |
isVCSPostgreSQL() |
boolean |
isVCSSQLServer() |
void |
maybeSleepToNextSecond()
Sleep a bit to get to the next millisecond, to have different timestamps.
|
void |
sleepForFulltext()
For databases that do asynchronous fulltext indexing, sleep a bit.
|
boolean |
supportsMultipleFulltextIndexes()
Checks if the database supports multiple fulltext indexes.
|
void |
waitForAsyncCompletion() |
void |
waitForFulltextIndexing() |
public static final String CORE_PROPERTY
public static final String CORE_VCS
public static final String CORE_MEM
public static final String CORE_MONGODB
public static final String CORE_MARKLOGIC
public static final String DEFAULT_CORE
public static final String DEFAULT_MONGODB_SERVER
public static final String DEFAULT_MONGODB_DBNAME
public StorageConfiguration(CoreFeature feature)
public static String defaultSystemProperty(String name, String def)
protected static String defaultProperty(String name, String def)
protected void init()
public void initJDBC()
protected void initMongoDB()
protected void initExternal()
public boolean isVCS()
public boolean isVCSH2()
public boolean isVCSDerby()
public boolean isVCSPostgreSQL()
public boolean isVCSMySQL()
public boolean isVCSOracle()
public boolean isVCSSQLServer()
public boolean isVCSDB2()
public boolean isDBS()
public boolean isDBSMem()
public boolean isDBSMongoDB()
public boolean isDBSExternal()
public boolean isDBSMarkLogic()
public String getRepositoryName()
public void sleepForFulltext()
public void maybeSleepToNextSecond()
public void waitForAsyncCompletion()
public void waitForFulltextIndexing()
public boolean supportsMultipleFulltextIndexes()
public List<String> getExternalBundles()
public URL getBlobManagerContrib(FeaturesRunner runner)
public URL getRepositoryContrib(FeaturesRunner runner)
public boolean isChangeTokenEnabled()
public String getCoreType()
Copyright © 2018 Nuxeo. All rights reserved.