Package org.apache.openjpa.slice

Extended OpenJPA Interfaces for distributed databases.

See:
          Description

Interface Summary
DistributedBroker Extension to Broker to allow access to virtual data store.
DistributedBrokerFactory Extension to BrokerFactory to allow dynamically add/remove slices.
DistributedConfiguration A configuration for multiple data stores, each referred as slice.
DistributedStoreManager  
DistributionPolicy Policy to select one of the physical databases referred as slice in which a given persistent instance will be stored.
FinderTargetPolicy Policy to select one or more of the physical databases referred as slice in which a given finder will be executed.
QueryTargetPolicy Policy to select one or more of the physical databases referred as slice in which a given query will be executed.
ReplicationPolicy Policy to select one or more of the physical databases referred as slice in which a given persistent instance will be persisted.
 

Class Summary
DistributedBrokerImpl A specialized Broker to associate slice identifiers with the StateManagers as they are persisted in a cascade.
DistributedQueryImpl Extension with slice locking policy.
DistributionPolicy.Default Implements a default distribution policy to store the given instance to a randomly selected available slice.
ProductDerivation Derives configuration for Slice.
ReentrantSliceLock A reentrant lock that lets a child to work with the parent's lock.
ReplicationPolicy.Default Implements a default replication policy to replicate the given instance across all available slices.
Slice Represents a database slice of immutable logical name, a configuration and status.
SliceImplHelper Utility methods to determine the target slices for a persistence capable instance by calling back to user-specified distribution policy.
SliceInfo Holder of slice names where a persistent instance is stored.
SlicePersistence A helper to determine the slice identifier of an instance.
SliceThread A thread to execute operation against each database slice.
 

Enum Summary
Slice.Status  
 

Package org.apache.openjpa.slice Description

Extended OpenJPA Interfaces for distributed databases. This package contains interface definitions for distribution policy and distributed configuration.



Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.