info.magnolia.debug
Class DerbyTestPersistenceManager

java.lang.Object
  extended by org.apache.jackrabbit.core.persistence.AbstractPersistenceManager
      extended by org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager
          extended by org.apache.jackrabbit.core.persistence.db.SimpleDbPersistenceManager
              extended by org.apache.jackrabbit.core.persistence.db.DerbyPersistenceManager
                  extended by info.magnolia.debug.DerbyTestPersistenceManager
All Implemented Interfaces:
org.apache.jackrabbit.core.persistence.PersistenceManager, org.apache.jackrabbit.core.util.db.DatabaseAware

public class DerbyTestPersistenceManager
extends org.apache.jackrabbit.core.persistence.db.DerbyPersistenceManager

A PM which measures the time spent in saving. You must enable the PerformanceTestFilter.

Version:
$Id$
Author:
philipp

Field Summary
 
Fields inherited from class org.apache.jackrabbit.core.persistence.db.DerbyPersistenceManager
shutdownOnClose
 
Fields inherited from class org.apache.jackrabbit.core.persistence.db.SimpleDbPersistenceManager
driver, password, url, user
 
Fields inherited from class org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager
autoReconnect, blobDeleteSQL, blobFS, blobInsertSQL, blobSelectExistSQL, blobSelectSQL, blobStore, blobUpdateSQL, con, externalBLOBs, INITIAL_BUFFER_SIZE, initialized, nodeReferenceDeleteSQL, nodeReferenceInsertSQL, nodeReferenceSelectExistSQL, nodeReferenceSelectSQL, nodeReferenceUpdateSQL, nodeStateDeleteSQL, nodeStateInsertSQL, nodeStateSelectExistSQL, nodeStateSelectSQL, nodeStateUpdateSQL, propertyStateDeleteSQL, propertyStateInsertSQL, propertyStateSelectExistSQL, propertyStateSelectSQL, propertyStateUpdateSQL, schema, SCHEMA_OBJECT_PREFIX_VARIABLE, schemaObjectPrefix, SLEEP_BEFORE_RECONNECT
 
Constructor Summary
DerbyTestPersistenceManager()
           
 
Method Summary
 String getTestPrefix()
           
 void setTestPrefix(String testPrefix)
           
 void store(org.apache.jackrabbit.core.state.ChangeLog changeLog)
           
 void store(org.apache.jackrabbit.core.state.PropertyState state)
           
 
Methods inherited from class org.apache.jackrabbit.core.persistence.db.DerbyPersistenceManager
closeConnection, getShutdownOnClose, setShutdownOnClose
 
Methods inherited from class org.apache.jackrabbit.core.persistence.db.SimpleDbPersistenceManager
getConnection, getDriver, getPassword, getUrl, getUser, setConnectionFactory, setDriver, setPassword, setUrl, setUser
 
Methods inherited from class org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager
buildSQLStatements, checkSchema, close, closeResultSet, closeStatement, createSchemaSql, destroy, destroy, destroy, executeStmt, exists, exists, existsReferencesTo, getSchema, getSchemaDDL, getSchemaObjectPrefix, init, initConnection, initPreparedStatements, isExternalBLOBs, isSchemaCheckEnabled, load, load, loadReferencesTo, logException, prepareSchemaObjectPrefix, reestablishConnection, resetStatement, setExternalBLOBs, setExternalBLOBs, setSchema, setSchemaCheckEnabled, setSchemaObjectPrefix, store, store
 
Methods inherited from class org.apache.jackrabbit.core.persistence.AbstractPersistenceManager
checkConsistency, createNew, createNew
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DerbyTestPersistenceManager

public DerbyTestPersistenceManager()
Method Detail

store

public void store(org.apache.jackrabbit.core.state.ChangeLog changeLog)
           throws org.apache.jackrabbit.core.state.ItemStateException
Specified by:
store in interface org.apache.jackrabbit.core.persistence.PersistenceManager
Overrides:
store in class org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager
Throws:
org.apache.jackrabbit.core.state.ItemStateException

store

public void store(org.apache.jackrabbit.core.state.PropertyState state)
           throws org.apache.jackrabbit.core.state.ItemStateException
Overrides:
store in class org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager
Throws:
org.apache.jackrabbit.core.state.ItemStateException

getTestPrefix

public String getTestPrefix()

setTestPrefix

public void setTestPrefix(String testPrefix)


Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.