Package org.apache.openjpa.slice
package org.apache.openjpa.slice
Extended OpenJPA Interfaces for distributed databases.
This package contains interface definitions for distribution policy and
distributed configuration.
-
ClassDescriptionExtension to Broker to allow access to
virtual data store
.Extension to BrokerFactory to allow dynamically add/remove slices.A specialized Broker to associate slice identifiers with the StateManagers as they are persisted in a cascade.A configuration for multiple data stores, each referred as slice.Extension with slice locking policy.A specializedStore Manager
that encapsulates multiple concrete Store Managers using Distributed Template (or Composite) Design Pattern.Policy to select one of the physical databases referred as slice in which a given persistent instance will be stored.Implements a default distribution policy to store the given instance to a randomly selected available slice.Policy to select one or more of the physical databases referred as slice in which a given finder will be executed.Derives configuration for Slice.Policy to select one or more of the physical databases referred as slice in which a given query will be executed.A reentrant lock that lets a child to work with the parent's lock.Policy to select one or more of the physical databases referred as slice in which a given persistent instance will be persisted.Implements a default replication policy to replicate the given instance across all available slices.Represents a database slice of immutable logical name, a configuration and status.Utility methods to determine the target slices for a persistence capable instance by calling back to user-specified distribution policy.Holder of slice names where a persistent instance is stored.A helper to determine the slice identifier of an instance.A thread to execute operation against each database slice.