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 |
protected String |
mongoDBDbName |
protected String |
mongoDBServer |
Constructor and Description |
---|
StorageConfiguration(CoreFeature feature) |
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
protected String mongoDBServer
protected String mongoDBDbName
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 clearMongoDB(MongoDBRepositoryDescriptor descriptor) throws UnknownHostException
UnknownHostException
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()
public String getMongoDBServer()
public String getMongoDBDbName()
Copyright © 2017 Nuxeo. All rights reserved.