Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.storage.sql
Class DatabaseMySQL

java.lang.Object
  extended by org.nuxeo.ecm.core.storage.sql.DatabaseHelper
      extended by org.nuxeo.ecm.core.storage.sql.DatabaseMySQL

public class DatabaseMySQL
extends DatabaseHelper

Author:
Florent Guillaume

Field Summary
static DatabaseHelper INSTANCE
           
 
Fields inherited from class org.nuxeo.ecm.core.storage.sql.DatabaseHelper
DATABASE, DATABASE_PROPERTY, DB_CLASS_NAME_BASE, DB_DEFAULT, DB_PROPERTY, PASSWORD_PROPERTY, PORT_PROPERTY, SERVER_PROPERTY, URL_PROPERTY, USER_PROPERTY
 
Constructor Summary
DatabaseMySQL()
           
 
Method Summary
 java.lang.String getDeploymentContrib()
           
 int getRecursiveRemovalDepthLimit()
          For databases that fail to cascade deletes beyond a certain depth.
 RepositoryDescriptor getRepositoryDescriptor()
           
 void maybeSleepToNextSecond()
          For databases that don't have subsecond resolution, sleep a bit to get to the next second.
 void setUp()
           
 boolean supportsClustering()
          For databases that don't support clustering.
 
Methods inherited from class org.nuxeo.ecm.core.storage.sql.DatabaseHelper
doOnAllTables, setDatabaseForTests, setProperty, sleepForFulltext, supportsMultipleFulltextIndexes, tearDown
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static DatabaseHelper INSTANCE
Constructor Detail

DatabaseMySQL

public DatabaseMySQL()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Specified by:
setUp in class DatabaseHelper
Throws:
java.lang.Exception

getDeploymentContrib

public java.lang.String getDeploymentContrib()
Specified by:
getDeploymentContrib in class DatabaseHelper

getRepositoryDescriptor

public RepositoryDescriptor getRepositoryDescriptor()
Specified by:
getRepositoryDescriptor in class DatabaseHelper

maybeSleepToNextSecond

public void maybeSleepToNextSecond()
Description copied from class: DatabaseHelper
For databases that don't have subsecond resolution, sleep a bit to get to the next second.

Overrides:
maybeSleepToNextSecond in class DatabaseHelper

getRecursiveRemovalDepthLimit

public int getRecursiveRemovalDepthLimit()
Description copied from class: DatabaseHelper
For databases that fail to cascade deletes beyond a certain depth.

Overrides:
getRecursiveRemovalDepthLimit in class DatabaseHelper

supportsClustering

public boolean supportsClustering()
Description copied from class: DatabaseHelper
For databases that don't support clustering.

Overrides:
supportsClustering in class DatabaseHelper

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.