class CompositePersistence implements Persistence<O, A> {

    @Override
    public ObjectStore<O> createObjectStore() {
        return primaryPersistence.createObjectStore();
    }

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

}