All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.distributeme.test.list.ListService Maven / Gradle / Ivy

There is a newer version: 4.0.2
Show newest version
package org.distributeme.test.list;

import net.anotheria.anoprise.metafactory.Service;
import org.distributeme.annotation.DistributeMe;
import org.distributeme.annotation.FailBy;
import org.distributeme.annotation.Route;
import org.distributeme.annotation.RouteMe;
import org.distributeme.core.routing.PropertyBasedRegistrationNameProvider;

import java.util.Collection;

/**
 * TODO comment this class
 *
 * @author lrosenberg
 * @since 22.09.15 00:57
 */
@DistributeMe
@RouteMe(providerClass=PropertyBasedRegistrationNameProvider.class, providerParameter="instanceId")
@Route(routerClass=ListRouter.class, routerParameter="", configurationName = "list-config")
@FailBy(strategyClass=ListRouter.class, reuseRouter = true)
public interface ListService extends Service {
	ListObject getListObject(ListObjectId id);

	Collection getListObjects();

	Collection getSomeListObjects(Collection ids) ;

	Collection getListObjectsSharded();

	Collection getSomeListObjectsSharded(Collection ids) ;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy