Package org.apache.openjpa.slice

Extended OpenJPA Interfaces for distributed databases.

See:
          Description

Interface Summary
DistributedBroker Extension to Broker to allow dynamically add/remove slices.
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.
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.
SliceThread.SliceThreadFactory  
 

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-2010 Apache Software Foundation. All Rights Reserved.