class CompositePersistence implements Persistence<O, A> {

    public static <O, A extends Comparable<A>> CompositePersistence<O, A> of(Persistence<O, A> primaryPersistence, Persistence<O, A> secondaryPersistence, List<? extends Persistence<O, A>> additionalPersistences) {
        return new CompositePersistence<O, A>(primaryPersistence, secondaryPersistence, additionalPersistences);
    }

    public  CompositePersistence(Persistence<O, A> primaryPersistence, Persistence<O, A> secondaryPersistence, List<? extends Persistence<O, A>> additionalPersistences);

}