|
Berkeley DB version 6.1.19 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PartitionHandler
An interface specifying how to set up database partitioning.
Implementation of this interface is required when
Database
is opened and
DatabaseConfig.setPartitionByCallback
is called.
You configure the database with this handler using the
DatabaseConfig.setPartitionByCallback
method.
Method Summary | |
---|---|
int |
partition(Database db,
DatabaseEntry key)
The application-specific database partitioning callback. |
Method Detail |
---|
int partition(Database db, DatabaseEntry key)
db
- The enclosing database handle.key
- A database entry representing a database key.
|
Berkeley DB version 6.1.19 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |