db4o 7.4

Deprecated API


Contents
Deprecated Interfaces
com.db4o.types.Db4oCollections
          since 7.0 
com.db4o.replication.ReplicationConflictHandler
          Since db4o-5.2. Use db4o Replication System (dRS) instead.

 
com.db4o.replication.ReplicationProcess
          Since db4o-5.2. Use db4o Replication System (dRS) instead.

 
 

Deprecated Classes
com.db4o.tools.Defragment
          Please use com.db4o.defragment.Defragment 
 

Deprecated Methods
com.db4o.Db4o.cloneConfiguration()
          use explicit configuration via Db4o.newConfiguration() instead 
com.db4o.ext.ExtObjectContainer.collections()
          since 7.0. Use of old internal collections is discouraged. Please use com.db4o.collections.ArrayList4 and com.db4o.collections.ArrayMap4 instead. 
com.db4o.config.ObjectClass.compare(ObjectAttribute)
          since version 7.0 
com.db4o.Db4o.configure()
          use explicit configuration via Db4o.newConfiguration() instead 
com.db4o.config.Configuration.discardFreeSpace(int)
          please call Db4o.configure().freespace().discardSmallerThan() 
com.db4o.config.Configuration.encrypt(boolean)
          use a custom encrypting IoAdapter instead 
com.db4o.config.Configuration.flushFileBuffers(boolean)
          Please use a NonFlushingIoAdapter instead. 
com.db4o.config.ConfigScope.forID(int)
            
com.db4o.config.Configuration.generateUUIDs(int)
          Use Configuration.generateUUIDs(ConfigScope) instead. 
com.db4o.config.Configuration.generateVersionNumbers(int)
          Use Configuration.generateVersionNumbers(ConfigScope) instead. 
com.db4o.ObjectContainer.get(Object)
          Use ObjectContainer.queryByExample(Object) instead 
com.db4o.types.Db4oCollections.newHashMap(int)
          Use of old internal collections is discouraged. Please use com.db4o.collections.ArrayList4 and com.db4o.collections.ArrayMap4 instead. 
com.db4o.types.Db4oCollections.newIdentityHashMap(int)
          Use of old internal collections is discouraged. Please use com.db4o.collections.ArrayList4 and com.db4o.collections.ArrayMap4 instead. 
com.db4o.types.Db4oCollections.newLinkedList()
          Use of old internal collections is discouraged. Please use com.db4o.collections.ArrayList4 and com.db4o.collections.ArrayMap4 instead. 
com.db4o.config.Configuration.password(String)
          use a custom encrypting IoAdapter instead 
com.db4o.config.ObjectClass.readAs(Object)
          use Configuration.addAlias(Alias) instead. It provides richer functionality in a way that is easier to use. 
com.db4o.ext.ExtObjectContainer.replicationBegin(ObjectContainer, ReplicationConflictHandler)
          Since db4o-5.2. Use db4o Replication System (dRS) instead.

prepares for replication with another ObjectContainer.

An ObjectContainer can only be involved in a replication process with one other ObjectContainer at the same time.

The returned ReplicationProcess interface provides methods to commit and to cancel the replication process.

This ObjectContainer will be "peerA" for the returned ReplicationProcess. The other ObjectContainer will be "peerB".
 
com.db4o.ObjectContainer.set(Object)
          Use ObjectContainer.store(Object) instead 
com.db4o.ext.ExtObjectContainer.set(Object, int)
          Use ExtObjectContainer.store(Object,int) instead 
com.db4o.config.Configuration.setClassLoader(Object)
          use reflectWith(new JdkReflector(classLoader)) instead 
com.db4o.config.FreespaceConfiguration.useIndexSystem()
          Please use the BTree freespace system instead by calling FreespaceConfiguration.useBTreeSystem(). 
 


db4o 7.4

Copyright 2007 db4objects Inc. All rights reserved.