Interface DistributedConfiguration

  • All Superinterfaces:
    java.beans.BeanInfo, java.lang.Cloneable, Closeable, Configuration, OpenJPAConfiguration, java.io.Serializable
    All Known Subinterfaces:
    DistributedJDBCConfiguration
    All Known Implementing Classes:
    DistributedJDBCConfigurationImpl

    public interface DistributedConfiguration
    extends OpenJPAConfiguration
    A configuration for multiple data stores, each referred as slice. This configuration allows each underlying slice be configured with its own specific configuration properties such as JDBC Driver or connection user/password etc.
    This configuration also extends by several policy plugins. A policy plugin is an user implementation of a specific policy interface. A policy implementation is invoked by Slice runtime.
    Slice recognizes following policies
  • Distribution Policy governs how new instances be distributed among the slices.
  • Replication Policy maintains the same instance in multiple slices.
  • Query Target Policy narrows the slices for a query execution.
  • Finder Target Policy narrows the slices for primary key based lookup
Author:
Pinaki Poddar