class CompositePersistence implements Persistence<O, A> {

    @Override
    public boolean supportsIndex(Index<O> index) {
        Persistence<O, A> persistence = getPersistenceForIndexOrNullWithCaching(index);
        return persistence != null;
    }

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

}