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

cn.hippo4j.starter.spi.CustomBlockingQueue Maven / Gradle / Ivy

There is a newer version: 1.5.0
Show newest version
package cn.hippo4j.starter.spi;

import java.util.concurrent.BlockingQueue;

/**
 * Custom blockingQueue.
 *
 * @author chen.ma
 * @date 2021/7/11 00:51
 */
public interface CustomBlockingQueue {

    /**
     * Gets the custom blocking queue type.
     *
     * @return
     */
    Integer getType();

    /**
     * Get custom blocking queue.
     *
     * @return
     */
    BlockingQueue generateBlockingQueue();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy