sjsu-cmpe / vyuudha

Vyuudha - A clean room implementation of a distributed storage middleware for education and research.
5 stars 2 forks source link

BDB problem #5

Closed ravidontharaju closed 13 years ago

ravidontharaju commented 13 years ago

To inherit all functions of core BDB api, we need to create a second layer of abstraction. Layer 1 would contain the configuration information a Layer 2 will contain the actual BDB calls.

utsengar commented 13 years ago

Why cant configuration info and BDB calls be in the same class? BDB in PV has a similar approach.

utsengar commented 13 years ago

is it fixed?

ravidontharaju commented 13 years ago

Fixed. BDB super class needs configuration as a parameter and hence we have two classes. One for configuration and the other for persistence calls. This needs to be done for MongoDB and MySQL too.