Java Doc for PersistenceManagerFactoryImp.java in  » Testing » PolePosition-0.20 » com » versant » core » jdo » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Testing » PolePosition 0.20 » com.versant.core.jdo 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.versant.core.jdo.PersistenceManagerFactoryBase
      com.versant.core.jdo.PersistenceManagerFactoryImp

PersistenceManagerFactoryImp
public class PersistenceManagerFactoryImp extends PersistenceManagerFactoryBase implements HasMetrics(Code)
PMF implementation.


Field Summary
final public static  StringPMF_SERVER
    
final public static  StringRELEASE_HYPERDRIVE_BYTECODE
    
protected  MaphyperdriveBytecode
    
protected  inthyperdriveBytecodeMaxSize
    
protected  VersantBackgroundTasklogDownloader
    
protected  ThreadlogDownloaderThread
    
protected  MetricSnapshotStoremetricSnapshotStore
    
protected  PMFServer[]pmfServers
    
protected  booleanreleaseHyperdriveBytecode
    
protected  HashMapuserMetricIndexMap
    
protected  int[]userMetricValues
    
protected  BaseMetric[]userMetrics
    

Constructor Summary
public  PersistenceManagerFactoryImp(Properties props, ClassLoader loader)
    

Method Summary
public  voidaddMetrics(List list)
    
public  voidaddPMFServer(PMFServer pmfServer)
    
protected  voidaddPMFServerImp(PMFServer pmfServer)
    
public synchronized  voidclose()
    
protected  voidcreatePMFServers()
     Export us using whatever remote access protocols have been specified.
protected  StorageManagerFactorycreateStorageManagerFactory()
     Create our StorageManagerFactory.
protected  intfindUserMetricIndex(String name)
    
public  MapgetHyperdriveBytecode()
    
public  intgetHyperdriveBytecodeMaxSize()
    
public  Metric[]getMetrics()
    
public  MetricSnapshotPacketgetMostRecentMetricSnapshot(int lastId)
    
public  MetricSnapshotPacketgetNewMetricSnapshots(int lastId)
    
public static  PersistenceManagerFactorygetPersistenceManagerFactory(Properties props)
     This is called by JDOHelper to construct a PM factory from a properties instance.
public  intgetUserMetric(String name)
    
public synchronized  voidincUserMetric(String name, int delta)
    
protected  voidinitLogDownloader(ConfigInfo config, ClassLoader loader)
    
protected  voidinitMetrics(ConfigInfo config)
    
public  booleanisLocal()
    
public  voidsampleMetrics(int[][] buf, int pos)
    
public  voidsetUserMetric(String name, int value)
    
protected  voidstartLogDownloader(ConfigInfo config)
    

Field Detail
PMF_SERVER
final public static String PMF_SERVER(Code)



RELEASE_HYPERDRIVE_BYTECODE
final public static String RELEASE_HYPERDRIVE_BYTECODE(Code)



hyperdriveBytecode
protected Map hyperdriveBytecode(Code)



hyperdriveBytecodeMaxSize
protected int hyperdriveBytecodeMaxSize(Code)



logDownloader
protected VersantBackgroundTask logDownloader(Code)



logDownloaderThread
protected Thread logDownloaderThread(Code)



metricSnapshotStore
protected MetricSnapshotStore metricSnapshotStore(Code)



pmfServers
protected PMFServer[] pmfServers(Code)



releaseHyperdriveBytecode
protected boolean releaseHyperdriveBytecode(Code)



userMetricIndexMap
protected HashMap userMetricIndexMap(Code)



userMetricValues
protected int[] userMetricValues(Code)



userMetrics
protected BaseMetric[] userMetrics(Code)




Constructor Detail
PersistenceManagerFactoryImp
public PersistenceManagerFactoryImp(Properties props, ClassLoader loader)(Code)




Method Detail
addMetrics
public void addMetrics(List list)(Code)



addPMFServer
public void addPMFServer(PMFServer pmfServer)(Code)



addPMFServerImp
protected void addPMFServerImp(PMFServer pmfServer)(Code)



close
public synchronized void close()(Code)



createPMFServers
protected void createPMFServers()(Code)
Export us using whatever remote access protocols have been specified.



createStorageManagerFactory
protected StorageManagerFactory createStorageManagerFactory()(Code)
Create our StorageManagerFactory.



findUserMetricIndex
protected int findUserMetricIndex(String name)(Code)



getHyperdriveBytecode
public Map getHyperdriveBytecode()(Code)



getHyperdriveBytecodeMaxSize
public int getHyperdriveBytecodeMaxSize()(Code)



getMetrics
public Metric[] getMetrics()(Code)



getMostRecentMetricSnapshot
public MetricSnapshotPacket getMostRecentMetricSnapshot(int lastId)(Code)



getNewMetricSnapshots
public MetricSnapshotPacket getNewMetricSnapshots(int lastId)(Code)



getPersistenceManagerFactory
public static PersistenceManagerFactory getPersistenceManagerFactory(Properties props)(Code)
This is called by JDOHelper to construct a PM factory from a properties instance.



getUserMetric
public int getUserMetric(String name)(Code)



incUserMetric
public synchronized void incUserMetric(String name, int delta)(Code)



initLogDownloader
protected void initLogDownloader(ConfigInfo config, ClassLoader loader)(Code)



initMetrics
protected void initMetrics(ConfigInfo config)(Code)



isLocal
public boolean isLocal()(Code)



sampleMetrics
public void sampleMetrics(int[][] buf, int pos)(Code)



setUserMetric
public void setUserMetric(String name, int value)(Code)



startLogDownloader
protected void startLogDownloader(ConfigInfo config)(Code)



Fields inherited from com.versant.core.jdo.PersistenceManagerFactoryBase
protected WeakBag activePMs(Code)(Java Doc)
protected boolean allowPmCloseWithOpenTx(Code)(Java Doc)
protected StorageCache cache(Code)(Java Doc)
protected boolean checkModelConsistencyOnCommit(Code)(Java Doc)
protected ConfigInfo config(Code)(Java Doc)
protected int datastoreTxLocking(Code)(Java Doc)
protected boolean ignoreCache(Code)(Java Doc)
protected StorageManagerFactory innermostSmf(Code)(Java Doc)
protected boolean interceptDfgFieldAccess(Code)(Java Doc)
protected boolean jdbc(Code)(Java Doc)
protected ModelMetaData jmd(Code)(Java Doc)
protected LifecycleListenerManager listeners(Code)(Java Doc)
protected ClassLoader loader(Code)(Java Doc)
protected MemQueryCompiler memQueryCompiler(Code)(Java Doc)
protected boolean multithreaded(Code)(Java Doc)
protected boolean nontransactionalRead(Code)(Java Doc)
protected boolean nontransactionalWrite(Code)(Java Doc)
protected boolean optimistic(Code)(Java Doc)
protected LogEventStore pes(Code)(Java Doc)
protected int pmCacheRefType(Code)(Java Doc)
protected int pmClosedAutoCount(Code)(Java Doc)
protected int pmClosedAutoTxCount(Code)(Java Doc)
protected int pmClosedCount(Code)(Java Doc)
protected int pmCreatedCount(Code)(Java Doc)
protected PMPool pmPool(Code)(Java Doc)
protected Properties props(Code)(Java Doc)
protected boolean restoreValues(Code)(Java Doc)
protected int retainConnectionInOptTx(Code)(Java Doc)
protected boolean retainValues(Code)(Java Doc)
protected StorageManagerFactory smf(Code)(Java Doc)
protected Object userObject(Code)(Java Doc)

Methods inherited from com.versant.core.jdo.PersistenceManagerFactoryBase
public void addLifecycleListener(LifecycleListener listener, Class[] classes)(Code)(Java Doc)
public synchronized void clearConnectionPool(String datastore)(Code)(Java Doc)
public synchronized void close()(Code)(Java Doc)
public void closeActivePMsForTesting()(Code)(Java Doc)
protected void configurePM(VersantPersistenceManagerImp pm)(Code)(Java Doc)
protected LogEventStore createLogEventStore()(Code)(Java Doc)
protected StorageCache createStorageCache()(Code)(Java Doc)
abstract protected StorageManagerFactory createStorageManagerFactory()(Code)(Java Doc)
public synchronized VersantPersistenceManagerImp createVersantPersistenceManagerImp()(Code)(Java Doc)
public void doSystemGC()(Code)(Java Doc)
public void evict(Object o)(Code)(Java Doc)
public void evictAll(Object[] oids)(Code)(Java Doc)
public void evictAll(Collection oids)(Code)(Java Doc)
public void evictAll(Class cls, boolean includeSubclasses)(Code)(Java Doc)
public void evictAll()(Code)(Java Doc)
public Class getClassForID(int classid)(Code)(Java Doc)
public Class getClassForIndex(int index)(Code)(Java Doc)
public Class getClassForJdbcID(Class baseClass, Object jdbcClassid)(Code)(Java Doc)
public int getClassID(Class cls)(Code)(Java Doc)
public int getClassIndex(Class cls)(Code)(Java Doc)
public int[] getClassIndexes(Class[] classes, boolean includeSubclasses)(Code)(Java Doc)
public ClassLoader getClassLoader()(Code)(Java Doc)
protected ClassMetaData getClassMetaData(Class cls)(Code)(Java Doc)
public String getConnectionDriverName()(Code)(Java Doc)
public Object getConnectionFactory()(Code)(Java Doc)
public Object getConnectionFactory2()(Code)(Java Doc)
public String getConnectionFactory2Name()(Code)(Java Doc)
public String getConnectionFactoryName()(Code)(Java Doc)
public String getConnectionURL()(Code)(Java Doc)
public String getConnectionUserName()(Code)(Java Doc)
public DataStoreInfo getDataStoreInfo(String datastore)(Code)(Java Doc)
public synchronized Object getEntityManagerFactory()(Code)(Java Doc)
public boolean getIgnoreCache()(Code)(Java Doc)
public Properties getInitProperties()(Code)(Java Doc)
public ModelMetaData getJDOMetaData()(Code)(Java Doc)
public Object getJdbcClassID(Class cls)(Code)(Java Doc)
public synchronized Connection getJdbcConnection(String datastore) throws SQLException(Code)(Java Doc)
public LogEventStore getLogEventStore()(Code)(Java Doc)
abstract public Metric[] getMetrics()(Code)(Java Doc)
abstract public MetricSnapshotPacket getMostRecentMetricSnapshot(int lastId)(Code)(Java Doc)
public boolean getMultithreaded()(Code)(Java Doc)
abstract public MetricSnapshotPacket getNewMetricSnapshots(int lastId)(Code)(Java Doc)
public LogEvent[] getNewPerfEvents(int lastId)(Code)(Java Doc)
public boolean getNontransactionalRead()(Code)(Java Doc)
public boolean getNontransactionalWrite()(Code)(Java Doc)
public boolean getOptimistic()(Code)(Java Doc)
public PersistenceManager getPersistenceManager()(Code)(Java Doc)
public PersistenceManager getPersistenceManager(String userid, String password)(Code)(Java Doc)
public List getPersistenceManagers()(Code)(Java Doc)
public int getPmCacheRefType()(Code)(Java Doc)
public PmfStatus getPmfStatus()(Code)(Java Doc)
public Properties getProperties()(Code)(Java Doc)
public RemoteClientStatus[] getRemoteClients()(Code)(Java Doc)
public boolean getRestoreValues()(Code)(Java Doc)
public boolean getRetainValues()(Code)(Java Doc)
public PropertyInfo getServerConfiguration()(Code)(Java Doc)
public Object getServerUserObject()(Code)(Java Doc)
public StorageCache getStorageCache()(Code)(Java Doc)
public StorageManagerFactory getStorageManagerFactory()(Code)(Java Doc)
abstract public int getUserMetric(String name)(Code)(Java Doc)
public Object getUserObject()(Code)(Java Doc)
protected RuntimeException handleException(Throwable e)(Code)(Java Doc)
protected RuntimeException handleException(String msg, Throwable e)(Code)(Java Doc)
abstract public void incUserMetric(String name, int delta)(Code)(Java Doc)
public boolean isAllowPmCloseWithTxOpen()(Code)(Java Doc)
public boolean isCheckModelConsistencyOnCommit()(Code)(Java Doc)
public boolean isInCache(Object oid)(Code)(Java Doc)
public boolean isInterceptDfgFieldAccess()(Code)(Java Doc)
abstract public boolean isLocal()(Code)(Java Doc)
public void logEvent(int level, String description, int ms)(Code)(Java Doc)
protected VersantPersistenceManagerImp newVersantPersistenceManagerImp(StorageManager sm)(Code)(Java Doc)
protected RuntimeException notImplemented()(Code)(Java Doc)
public void pmClosedNotification(VersantPersistenceManagerImp pm, boolean fromFinalizer, boolean txWasActive)(Code)(Java Doc)
public void registerSCOPersistenceDelegates(Object encoder)(Code)(Java Doc)
public void removeLifecycleListener(LifecycleListener listener)(Code)(Java Doc)
public void setAllowPmCloseWithTxOpen(boolean allowed)(Code)(Java Doc)
public void setCheckModelConsistencyOnCommit(boolean on)(Code)(Java Doc)
public void setConnectionDriverName(String driverName)(Code)(Java Doc)
public void setConnectionFactory(Object connectionFactory)(Code)(Java Doc)
public void setConnectionFactory2(Object connectionFactory)(Code)(Java Doc)
public void setConnectionFactory2Name(String connectionFactoryName)(Code)(Java Doc)
public void setConnectionFactoryName(String connectionFactoryName)(Code)(Java Doc)
public void setConnectionPassword(String password)(Code)(Java Doc)
public void setConnectionURL(String URL)(Code)(Java Doc)
public void setConnectionUserName(String userName)(Code)(Java Doc)
public void setIgnoreCache(boolean flag)(Code)(Java Doc)
public void setInterceptDfgFieldAccess(boolean interceptDfgFieldAccess)(Code)(Java Doc)
public void setMultithreaded(boolean flag)(Code)(Java Doc)
public void setNontransactionalRead(boolean flag)(Code)(Java Doc)
public void setNontransactionalWrite(boolean flag)(Code)(Java Doc)
public void setOptimistic(boolean flag)(Code)(Java Doc)
public void setPmCacheRefType(int pmCacheRefType)(Code)(Java Doc)
public void setRestoreValues(boolean restoreValues)(Code)(Java Doc)
public void setRetainValues(boolean flag)(Code)(Java Doc)
public String setServerProperty(String[] beanPath, String value)(Code)(Java Doc)
public void setServerUserObject(Object o)(Code)(Java Doc)
abstract public void setUserMetric(String name, int value)(Code)(Java Doc)
public void setUserObject(Object o)(Code)(Java Doc)
public void shutdown()(Code)(Java Doc)
public Collection supportedOptions()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.