package com.lanyuanxiaoyao.service.yarn.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.lanyuanxiaoyao.service.configuration.entity.yarn.YarnQueue;
import org.eclipse.collections.api.list.ImmutableList;

/**
 * Queue
 *
 * @author lanyuanxiaoyao
 * @date 2023-04-23
 */
public interface QueueService {
    ImmutableList<YarnQueue> list() throws JsonProcessingException;

    YarnQueue detail(String name) throws Exception;
}
