public class StorageConfiguration extends Object
Constructor and Description |
---|
StorageConfiguration() |
Modifier and Type | Method and Description |
---|---|
String |
getRepositoryName() |
String |
getVCSName() |
boolean |
hasSubSecondResolution()
Checks if the database has sub-second resolution.
|
boolean |
isVCSDB2() |
boolean |
isVCSDerby() |
boolean |
isVCSH2() |
boolean |
isVCSMySQL() |
boolean |
isVCSOracle() |
boolean |
isVCSPostgreSQL() |
boolean |
isVCSSQLServer() |
void |
maybeSleepToNextSecond()
For databases that don't have sub-second resolution, sleep a bit to get to the next second.
|
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 String getRepositoryName()
public String getVCSName()
public boolean isVCSH2()
public boolean isVCSDerby()
public boolean isVCSPostgreSQL()
public boolean isVCSMySQL()
public boolean isVCSOracle()
public boolean isVCSSQLServer()
public boolean isVCSDB2()
public void sleepForFulltext()
public void maybeSleepToNextSecond()
public boolean hasSubSecondResolution()
public void waitForAsyncCompletion()
public void waitForFulltextIndexing()
public boolean supportsMultipleFulltextIndexes()
Copyright © 2015 Nuxeo SA. All rights reserved.