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

com.almende.eve.scheduler.SchedulerFactory Maven / Gradle / Ivy

There is a newer version: 3.1.1
Show newest version
/*
 * Copyright: Almende B.V. (2014), Rotterdam, The Netherlands
 * License: The Apache Software License, Version 2.0
 */
package com.almende.eve.scheduler;

import com.almende.eve.agent.AgentInterface;

/**
 * A factory for creating Scheduler objects.
 */
public interface SchedulerFactory {
	
	/**
	 * Gets the scheduler.
	 * 
	 * @param agent
	 *            the agent
	 * @return the scheduler
	 */
	Scheduler getScheduler(AgentInterface agent);
	
	/**
	 * Destroy scheduler.
	 * 
	 * @param agentId
	 *            the agent id
	 */
	void destroyScheduler(String agentId);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy