Method Summary |
|
public void | addLifecycleListener(LifecycleListener listener, Class[] classes) |
public synchronized void | clearConnectionPool(String datastore) |
public synchronized void | close() |
public void | closeActivePMsForTesting() |
protected void | configurePM(VersantPersistenceManagerImp pm) Restore a PM to default settings. |
protected LogEventStore | createLogEventStore() Create and configure our LogEventStore. |
protected StorageCache | createStorageCache() Create our StorageCache implementation. |
abstract protected StorageManagerFactory | createStorageManagerFactory() Create our StorageManagerFactory. |
public synchronized VersantPersistenceManagerImp | createVersantPersistenceManagerImp() Create a new, unconfigured, PM. |
public void | doSystemGC() |
public void | evict(Object o) |
public void | evictAll(Object[] oids) |
public void | evictAll(Collection oids) |
public void | evictAll(Class cls, boolean includeSubclasses) |
public void | evictAll() |
public Class | getClassForID(int classid) |
public Class | getClassForIndex(int index) |
public Class | getClassForJdbcID(Class baseClass, Object jdbcClassid) |
public int | getClassID(Class cls) |
public int | getClassIndex(Class cls) |
public int[] | getClassIndexes(Class[] classes, boolean includeSubclasses) |
public ClassLoader | getClassLoader() |
protected ClassMetaData | getClassMetaData(Class cls) Get the meta data for cls or throw an exception if there is none. |
public String | getConnectionDriverName() |
public Object | getConnectionFactory() |
public Object | getConnectionFactory2() |
public String | getConnectionFactory2Name() |
public String | getConnectionFactoryName() |
public String | getConnectionURL() |
public String | getConnectionUserName() |
public DataStoreInfo | getDataStoreInfo(String datastore) |
public synchronized Object | getEntityManagerFactory() |
public boolean | getIgnoreCache() |
public Properties | getInitProperties() Get the properties that we were created from. |
public ModelMetaData | getJDOMetaData() |
public Object | getJdbcClassID(Class cls) |
public synchronized Connection | getJdbcConnection(String datastore) |
public LogEventStore | getLogEventStore() |
abstract public Metric[] | getMetrics() |
abstract public MetricSnapshotPacket | getMostRecentMetricSnapshot(int lastId) |
public boolean | getMultithreaded() |
abstract public MetricSnapshotPacket | getNewMetricSnapshots(int lastId) |
public LogEvent[] | getNewPerfEvents(int lastId) |
public boolean | getNontransactionalRead() |
public boolean | getNontransactionalWrite() |
public boolean | getOptimistic() |
public PersistenceManager | getPersistenceManager() |
public PersistenceManager | getPersistenceManager(String userid, String password) |
public List | getPersistenceManagers() |
public int | getPmCacheRefType() |
public PmfStatus | getPmfStatus() |
public Properties | getProperties() |
public RemoteClientStatus[] | getRemoteClients() |
public boolean | getRestoreValues() |
public boolean | getRetainValues() |
public PropertyInfo | getServerConfiguration() |
public Object | getServerUserObject() |
public StorageCache | getStorageCache() |
public StorageManagerFactory | getStorageManagerFactory() |
abstract public int | getUserMetric(String name) |
public Object | getUserObject() |
protected RuntimeException | handleException(Throwable e) Wrap an exception appropriately and return one to be thrown. |
protected RuntimeException | handleException(String msg, Throwable e) Wrap an exception appropriately and return one to be thrown. |
abstract public void | incUserMetric(String name, int delta) |
public boolean | isAllowPmCloseWithTxOpen() |
public boolean | isCheckModelConsistencyOnCommit() |
public boolean | isInCache(Object oid) |
public boolean | isInterceptDfgFieldAccess() |
abstract public boolean | isLocal() |
public void | logEvent(int level, String description, int ms) |
protected VersantPersistenceManagerImp | newVersantPersistenceManagerImp(StorageManager sm) |
protected RuntimeException | notImplemented() Return a 'not implemented' exception. |
public void | pmClosedNotification(VersantPersistenceManagerImp pm, boolean fromFinalizer, boolean txWasActive) |
public void | registerSCOPersistenceDelegates(Object encoder) |
public void | removeLifecycleListener(LifecycleListener listener) |
public void | setAllowPmCloseWithTxOpen(boolean allowed) |
public void | setCheckModelConsistencyOnCommit(boolean on) |
public void | setConnectionDriverName(String driverName) |
public void | setConnectionFactory(Object connectionFactory) |
public void | setConnectionFactory2(Object connectionFactory) |
public void | setConnectionFactory2Name(String connectionFactoryName) |
public void | setConnectionFactoryName(String connectionFactoryName) |
public void | setConnectionPassword(String password) |
public void | setConnectionURL(String URL) |
public void | setConnectionUserName(String userName) |
public void | setIgnoreCache(boolean flag) |
public void | setInterceptDfgFieldAccess(boolean interceptDfgFieldAccess) |
public void | setMultithreaded(boolean flag) |
public void | setNontransactionalRead(boolean flag) |
public void | setNontransactionalWrite(boolean flag) |
public void | setOptimistic(boolean flag) |
public void | setPmCacheRefType(int pmCacheRefType) |
public void | setRestoreValues(boolean restoreValues) |
public void | setRetainValues(boolean flag) |
public String | setServerProperty(String[] beanPath, String value) |
public void | setServerUserObject(Object o) |
abstract public void | setUserMetric(String name, int value) |
public void | setUserObject(Object o) |
public void | shutdown() |
public Collection | supportedOptions() |