Save This Page
Home » apache-openjpa-1.1.0-source » org.apache.openjpa » slice » [javadoc | source]
org.apache.openjpa.slice
public interface: DistributionPolicy [javadoc | source] Policy to select one of the physical databases referred as slice in which a given persistent instance will be stored.
Method from org.apache.openjpa.slice.DistributionPolicy Summary:
distribute
Method from org.apache.openjpa.slice.DistributionPolicy Detail:
 public String distribute(Object pc,
    List slices,
    Object context)
    Gets the name of the slice where a given instance will be stored.