Interface PartitionHandler


public interface PartitionHandler
An interface specifying how Btree prefixes should be calculated.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The application-specific database partitioning callback.
  • Method Details

    • partition

      int partition(Database db, DatabaseEntry key)
      The application-specific database partitioning callback.

      Parameters:
      db - The enclosing database handle.
      key - A database entry representing a database key.