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

com.aegisql.conveyor.parallel.ParallelConveyorMBean Maven / Gradle / Ivy

The newest version!
/*
 * COPYRIGHT (C) AEGIS DATA SOLUTIONS, LLC, 2015
 */
package com.aegisql.conveyor.parallel;

import com.aegisql.conveyor.Conveyor;

// TODO: Auto-generated Javadoc
/**
 * The Interface ParallelConveyorMBean.
 */
public interface ParallelConveyorMBean {
	
	/**
	 * Gets the name.
	 *
	 * @return the name
	 */
	String getName();

	String getGenericName();
	
	/**
	 * Gets the type.
	 *
	 * @return the type
	 */
	String getType();
	
	/**
	 * Gets the inner conveyors count.
	 *
	 * @return the inner conveyors count
	 */
	int getInnerConveyorsCount();
	
	/**
	 * Checks if is running.
	 *
	 * @return true, if is running
	 */
	boolean isRunning();

	/**
	 * Conveyor.
	 *
	 * @param  the key type
	 * @param  the generic type
	 * @param  the generic type
	 * @return the conveyor
	 */
	 Conveyor conveyor();
	
	/**
	 * Stop.
	 */
	void stop();
	
	/**
	 * Complete and stop.
	 */
	void completeAndStop();
	
	/**
	 * Sets the idle heart beat msec.
	 *
	 * @param msec the new idle heart beat msec
	 */
	void idleHeartBeatMsec(long msec);
	
	/**
	 * Sets the default builder timeout msec.
	 *
	 * @param msec the new default builder timeout msec
	 */
	void defaultBuilderTimeoutMsec(long msec);
	
	/**
	 * Reject unexpireable carts older than msec.
	 *
	 * @param msec the msec
	 */
	void rejectUnexpireableCartsOlderThanMsec(long msec);
	
	/**
	 * Sets the expiration postpone time msec.
	 *
	 * @param msec the new expiration postpone time msec
	 */
	void expirationPostponeTimeMsec(long msec);
	
	boolean isSuspended();
	
	void suspend();
	
	void resume();

	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy