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

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: DerbyTestPersistenceManager.java 36511 2010-08-18 13:22:37Z had $
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
 java.lang.String getTestPrefix()
           
 void setTestPrefix(java.lang.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, 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, exists, getSchema, getSchemaDDL, getSchemaObjectPrefix, init, initConnection, initPreparedStatements, isExternalBLOBs, isSchemaCheckEnabled, load, load, load, 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 java.lang.String getTestPrefix()

setTestPrefix

public void setTestPrefix(java.lang.String testPrefix)


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