public interface PartitionHandler
Database
is opened and
DatabaseConfig.setPartitionByCallback
is called.
You configure the database with this handler using the
DatabaseConfig.setPartitionByCallback
method.
Modifier and Type | Method | Description |
---|---|---|
int |
partition(Database db,
DatabaseEntry key) |
The application-specific database partitioning callback.
|
int partition(Database db, DatabaseEntry key)
db
- The enclosing database handle.key
- A database entry representing a database key.Copyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.